Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started by: kalvic on November 30, 2016, 07:16:25 AM
-
Hello, here are several days that I battle with the crontab. Unable to make them work.
Here are my cronjob:
0 */1 * * * root cd /home/templier/public_html && timeout 300 php ./reboot.php >/dev/null 2>&1
*/5 * * * * root cd /home/templier/public_html && timeout 290 php ./statuscheck.php >/dev/null 2>&1
*/1 * * * * root cd /home/templier/public_html && timeout 290 php ./startupdates.php >/dev/null 2>&1
*/5 * * * * root cd /home/templier/public_html && timeout 290 php ./jobs.php >/dev/null 2>&1
*/10 * * * * root cd /home/templier/public_html && timeout 290 php ./cloud.php >/dev/null 2>&1
I try everything does not work! I want to take this panel and explode it against a wall ?
-
if you are using the correct path as displayed in cwp cron then the best would be to be checked by our support
http://centos-webpanel.com/contact
please note that correct path is
/usr/local/bin/php
-
I do not quite understand what you're telling me. These cron are used to manage my game server and pose problems to my customer . Help me please. The panelgames site can be found at: /home/templier/public_html
My cron :
Every minute : execute ./startupdates.php
Every 5 minute : ./statuscheck.php
Every 5 minute : ./jobs.php
Every 10 minute : ./cloud.php
Every 1h : ./cloud.php
If I do not have the solution will have to change my web panel because these cron guarantees the update of my games server and the statisytics of my system.
regard.
-
IT'S WOOOORK
*/1 * * * * /usr/local/bin/php /home/templier/public_html/startupdates.php
*/5 * * * * /usr/local/bin/php /home/templier/public_html/statuscheck.php
*/5 * * * * /usr/local/bin/php /home/templier/public_html/jobs.php
*/10 * * * * /usr/local/bin/php /home/templier/public_html/cloud.php
0 */1 * * * /usr/local/bin/php /home/templier/public_html/reboot.php