View previous topic :: View next topic |
Author |
Message |
asankaan n00b
Joined: 17 Jul 2006 Posts: 58
|
Posted: Sun Aug 12, 2012 5:15 am Post subject: vixie-cron issue |
|
|
Hi,
In my gentoo box, i have installed vixie-cron 4.1-r12.
I want to shutdown my pc daily in a specific time & I used cron job to get it done.
My Cron tab : 30 18 * * * /sbin/halt
But, above does not work.
But, When i use /sbin/reboot , it reboots the pc at the given time though /sbin/halt does not work.
Does anyone have any idea on this issue?
Thanks in advance. |
|
Back to top |
|
|
olek Apprentice
Joined: 22 Oct 2011 Posts: 173
|
Posted: Sun Aug 12, 2012 12:06 pm Post subject: |
|
|
Try poweroff or shutdown now instead of halt. _________________ https://plaintext.blog |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3925 Location: Hamburg
|
Posted: Sun Aug 12, 2012 5:22 pm Post subject: Re: vixie-cron issue |
|
|
asankaan wrote: |
My Cron tab : 30 18 * * * /sbin/halt | *Your* crontab or the crontab of root ? |
|
Back to top |
|
|
asankaan n00b
Joined: 17 Jul 2006 Posts: 58
|
Posted: Mon Aug 13, 2012 3:20 am Post subject: |
|
|
olek wrote: | Try poweroff or shutdown now instead of halt. |
Thanks a lot , it works! |
|
Back to top |
|
|
|