Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: changlee on November 19, 2018, 02:51:49 PM

Title: Setting the right PHP cron command
Post by: changlee on November 19, 2018, 02:51:49 PM
Hello,
Can you please advise the best way to find the right path for php CRON execution commands?

Eg I try
* * * * * /usr/local/bin/php -q /home/user/public_html/comomand:run 2>&1   

And it is not working...
Title: Re: Setting the right PHP cron command
Post by: ForYourIT on January 24, 2019, 02:21:29 PM
Hi there,

What does your logs say?
Title: Re: Setting the right PHP cron command
Post by: changlee on January 24, 2019, 03:36:57 PM
What logs exactly?