Hello Nitebirdz (<[EMAIL PROTECTED]>) wrote:
> I recently installed Woody on a home server, proceeded to add a couple > of scripts to the "/var/spool/cron/crontabs/root" file by running the > usual 'crontab -e' as root, and they never appear to run. Am I > supposed to do this differently? Sorry about what may sound like a > very stupid question, but I recently switched from Red Hat where one > configures crontab the way I explain here. > > Just in case, here is the information I was adding: > > # Run mkbackup script three times a week at 2:30 in the morning > 30 2 * * Tue,Thu,Sun root /root/bin/mkbackup > # Run mkreport every night at 1:00 AM > 0 1 * * * root /usr/local/sbin/mkreport.deb -o root IIRC, if you edit user crontabs, you have to leave away the user field. The jobs will be run under the ID the crontab belongs to. If you use vixie cron, the user field is only needed in /etc/crontab and /etc/cron.d crontab segments. best regards Andreas Janssen -- Andreas Janssen <[EMAIL PROTECTED]> PGP-Key-ID: 0xDC801674 Registered Linux User #267976 http://www.andreas-janssen.de/debian-tipps.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]