Author Topic: Help ! The crontab not start !  (Read 8418 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Help ! The crontab not start !
« 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:

Quote
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 ?

Offline
*
Re: Help ! The crontab not start !
« Reply #1 on: November 30, 2016, 04:55:05 PM »
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
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Help ! The crontab not start !
« Reply #2 on: December 26, 2016, 09:26:54 AM »
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.

Offline
*
Re: Help ! The crontab not start !
« Reply #3 on: December 26, 2016, 11:08:29 AM »
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