The only way to tell if a cron job has failed is to log in to the console and type mail.
It would be great if these where emailed much like the DenyHosts Messages are.25 votes
In the New Cron Feature if you run a Cron Task it will not run under the correct Directory for that User. So Includes and Requires Fail.
This can be fixed by placing a
cd /home/12953-3963.cloudways…pps.com/username/public_html &&
in front of the php /scripttorun
So a completed version would be
50 6 * * * cd /home/12953-3963.cloudwaysapps.com/username/publichtml && php /home/12953-3963.cloudwaysapps.com/username/publichtml/nightly.php1 vote
- Don't see your idea?