Mailinglist Archive: opensuse (5130 mails)

< Previous Next >
Re: [SLE] crontab entries not working
  • From: Dave Howorth <dhoworth@xxxxxxxxxxxxxxxxx>
  • Date: Mon, 15 May 2006 11:19:25 +0100
  • Message-id: <446855AD.2020103@xxxxxxxxxxxxxxxxx>
Per Jessen wrote:
perlcgi2000 wrote:

I added three entries to my etc/crontab and then saved the file using
Kate.

The entries look like:

27 9 20 * * * /usr/local/f-prot/tools/check-updates.pl -cron
43 6 * * * /home/nathan/Documents/getweather.pl
* * * * 6 /root/runfprot.pl

Correct format is :

minute hour day-of-month month day-of-week <exec>

Errm, not in /etc/crontab. You also need the username:

# minute hour day-of-month month day-of-week user <exec>
29 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly

Cheers, Dave

< Previous Next >
Follow Ups
References