At 2007-01-04T09:33:24+1300, Roger Searle wrote:
> Having created a cron job (with vi, no less!) to shut down this machine
> at 8pm each night I am not sure why it will not run. I have in root's
> crontab:
>
> nine:/home/roger # crontab -l
> 0 20 * * * shutdown -h -t secs 1
Use an absolute path for shutdown, e.g. /sbin/shutdown. Jobs run by cron(8)
have a restricted path which is often just /bin and /usr/bin. The man page
for crontab(5) on your system has a bit more detail.
Cheers,
-mjg
--
Matthew Gregan |/
/| [EMAIL PROTECTED]