Hi Jimmy,

    Thanks very much.
    I do a test in my linux machine, the absolute path of the shutdown
commands(/sbin/shutdown) is used in cron, so it works.


Regards,
Fred Zhang




----- Original Message -----
From: "Jimmy Olgeni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 22, 2002 8:20 AM
Subject: Re: Can I use cron to shutdown a machine


>
> On Mon, 22 Jul 2002 [EMAIL PROTECTED] wrote:
>
> >  Can I use cron to shutdown a mahine?
> >  I had add the task to shutdown a machin in crontab, but It is not work.
> >  Can u tell me why?
>
> Did you use the full path for the command? Maybe it doesn't find
> shutdown in the default cron path. You may try with "/sbin/shutdown".
> Are you using /etc/crontab or the root user crontab? /etc/crontab also
> wants a "who" column :)
>
> --
> jimmy
>
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to