Cron dont work in zpanel

  • Posted on April 30, 2014
  • juanAsked 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)

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

When that command ran, did it also run the commands that you added in the panel?

this comand runs but cron job didnt start

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>