Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    Can you give us an the code of one of these scripts? I want to see if there is an issue with environment variables. You may also want to add some logging to the end of the cronjob. My guess is this has some sort of issue with PATH Commented Apr 18, 2018 at 6:11
  • What error messages has cron sent you? Run the mail command (or read the file /var/mail/root) Commented Apr 18, 2018 at 8:12
  • You could save a lot of disk space by using 0-3 as the first column. You'll gain time to when you have to correct your crontab. Commented Apr 18, 2018 at 9:48
  • There's nothing in the script itself that prevents it from running when called by root? Commented Apr 18, 2018 at 10:10