krisbee2000 0 Report post Posted March 11, 2011 I have put things in the /etc/cron.daily folder and the script doesn't seem to run. As I look, it doesn't seem any of those scripts in there (from Mandriva) seem to be running. If I run the command: run-parts --report /etc/cron.monthly it will start executing those scripts... Crond is running according to mcc - so what is the deal? [moved from Software by spinynorman] Quote Share this post Link to post Share on other sites
scarecrow 0 Report post Posted March 11, 2011 (edited) Maybe a stupid question: Did you make your scripts executable? (chmod +x) and given them the right permissions? Edited March 11, 2011 by scarecrow Quote Share this post Link to post Share on other sites
K Bergen 1 Report post Posted March 11, 2011 Another silly question. Is your computer running at 4:00AM or do you turn it off for the night? Quote Share this post Link to post Share on other sites
Lardy 0 Report post Posted March 14, 2011 Environment variables won't be called by cron. You need to set the PATH variable or use the full path to the binary like so: 30 3 * * * /bin/sh /mail/mailbox.size.check.sh Quote Share this post Link to post Share on other sites
ianw1974 11 Report post Posted March 14, 2011 If you're machine isn't running all the time, you can also install anacron which will mean that as soon as you power it up, any scripts that were meant to run will run. But I expect that you're script isn't executable, or alternatively at the beginning of the file you've forgotten to add this: #!/bin/bash would have to be on the first line. Quote Share this post Link to post Share on other sites