Report this

What is the reason for this report?

zPanel Cron Not Working? Can not add cron or task not being executed

Posted on November 29, 2014

Hi we have zPanel 10.1 Im trying to add cron but its not working, im getting script does not exist error or when path is accepted our script file is not actual executed :(

here is what i tried:

php -q  /var/zpanel/hostdata/<*account*>/public_html/<*domain*>/api/cron/index.php

or

php -q  /<*domain*>/api/cron/index.php

says script does not exist

I can add something like this:

/<*domain*>/api/cron/index.php

but file is not being executed :(

Crontab is running, process is up and i see zPanels internal things are being executed just fine.

tnx for help!



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.

Any luck on getting this resolved?

path exist, i copy and paste :)

/var/log/cron

it did give me an error running under root

-bash: /var/log/cron: Permission denied

Messages log is empty. Only iptables info is there and old one

did you create the cron entry from within zpanel or manually?

are you sure you check the cron log as su?

paste ls -l output for the script path and full cron entry.

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.