Answer the question
In order to leave comments, you need to log in
Why is Cron not executing scheduled jobs?
Tell me why cron can not work out the schedule and how to troubleshoot such reasons?
# run-parts
0 * * * * root run-parts /home/user/script
Answer the question
In order to leave comments, you need to log in
1. When run as root, does it work if run from any folder?
2. If it works, then check for an empty line at the end of crontab
3. sudo crontab -e
each user has his own crontab and if you are editing as a normal user, then privilege escalation will not work.
To run cron as root edit cron as root
# run-parts
0 * * * * root run-parts /home/user/script
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question