By alexus
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.