Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.

Browse other questions tagged .