Report this

What is the reason for this report?

Cron dont work in zpanel

Posted on April 30, 2014
juan

By juan

I have a domain with ZPanel with a cron job, Apparently has configured ok, but was never executed. If I run the php from the url is running ok. The cron log:

Apr 29 21:45:01 localhost CRON[4864]: (root) CMD (/usr/bin/php -q /etc/zpanel/panel/bin/daemon.php >> /dev/null 2>&1) Apr 29 21:50:01 localhost CRON[5195]: (root) CMD (/usr/bin/php -q /etc/zpanel/panel/bin/daemon.php >> /dev/null 2>&1) Apr 29 21:55:01 localhost CRON[5241]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) Apr 29 21:55:01 localhost CRON[5242]: (root) CMD (/usr/bin/php -q /etc/zpanel/panel/bin/daemon.php >> /dev/null 2>&1) Apr 29 22:00:01 localhost CRON[5284]: (root) CMD (/usr/bin/php -q /etc/zpanel/panel/bin/daemon.php >> /dev/null 2>&1) Apr 29 22:05:01 localhost CRON[5323]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) Apr 29 22:05:01 localhost CRON[5324]: (root) CMD (/usr/bin/php -q /etc/zpanel/panel/bin/daemon.php >> /dev/null 2>&1)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

how? thanks

SSH into your droplet and try running it on the command line: <br> <br><pre> <br>/usr/bin/php -q /etc/zpanel/panel/bin/daemon.php <br></pre> <br> <br>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.