Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can't get the crontab jobs running. I've checked /var/log/syslog and the scheduled jobs aren't there. I've edited the jobs with

sudo crontab -e

so they are created for root.

This is how my jobs looks like:

15 0 * * * /opt/scripts/programs/maintenance profile web_sites_backup
30 0 */3 * * /opt/scripts/programs/maintenance profile web_server_backup 
01 0 * * 0,4 /opt/scripts/programs/maintenance profile full_backup

What have I done wrong?

share|improve this question
crap, I think I've figured it out, I forgot to run the script with bash :D so... any other mistake you see in my syntax? – Niklas Dec 6 '11 at 23:55
You can stipulate the scripts need to run with bash with the shebang line: #!/bin/bash as the first line – Paul Dec 7 '11 at 0:00
Is cron running ps auwx | grep cron ? – Paul Dec 7 '11 at 0:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.