Re: Crontab as root
-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 16 Sep 1999, BIBKO wrote:
> I set up a contab file as user root with crontab -e. It is in
> /var/spool/cron/crontabs. It is planed to run 10 8 * * 1-5
> pphol is the cripts which need to be executed. But cron does not execute
> the file.
i don't know how well root's crontab works, as i just always add to
/etc/cron.whatever for tasks that need root permissions.
However, this note from the crontab(1) manpage may prove useful:
Although cron requires that each entry in a crontab end in
a newline character, the neither the crontab command nor
the cron daemon will detect this error. Instead, the
crontab will appear load normally. However, the command
will never run. The best choice is to ensure that your
crontab has a blank line at the end.
finger for PGP public key.
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----