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
> /usr/bin/pphol.
> 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:
BUGS
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-----
Version: 2.6.3ia
Charset: noconv
iQCVAwUBN+EVF77M/9WKZLW5AQHidgP+MRu/2Pb1Rovr1wQcvbkotUpE2GOZ1bVI
I2gCDSYbV2oD4KyOM1Dcc6GWniJCxTaVWl8b1uKhVYiO0cxhPjIwxtegp5N/Cklr
mgwJ9ygzFzXOGk0E0lvwVIjvDvCzrVqIG+qWkGdr6elaUKqZetzxiUSGfgnUw8pg
REUH+bTIQc4=
=mdh2
-----END PGP SIGNATURE-----
Reply to: