Need to Run Jobqueue from PHP manually

Discussion in 'Tips/Tricks/Mods' started by ethanlifka, Mar 21, 2010.

  1. ethanlifka

    ethanlifka New Member

    Does anyone know how to run the Job Queue manualy through the ISPConfig 3 admin interface.

    I created a link that runs the queue and linked it to a .php file.

    But I can't get the .php file to run:

    I know that this script is run by a cron every minute, but I want to turn off that cron or change it to every day instead. Then all i need is a way for me to run it after I made changes to the ISPC admin interface. I do not have any clients or users logging into the ISPC admin interface so running the cron every minute is not needed.

    It seems that only "root" can run this script.

    How can I make a PHP file run the script as root and not apache.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not run the jobqueue manualy from the interface, as the interface does not have permissions for that and it can not have permissions for that as the jobqueue can only be executed by the root user.

    You cant without opening up your system for hackers. The apache webserver may naver be run as root user, thats even compiled into the apache binaries of all linux distributions to prevent such a configuration.

Share This Page