| View previous topic :: View next topic |
| Author |
Message |
asankaan n00b

Joined: 17 Jul 2006 Posts: 36
|
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 Tux's lil' helper


Joined: 22 Oct 2011 Posts: 101
|
|
| Back to top |
|
 |
toralf Advocate


Joined: 01 Feb 2004 Posts: 2411 Location: Hamburg/Germany
|
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: 36
|
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 |
|
 |
|