Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vixie-cron issue
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
asankaan
n00b
n00b


Joined: 17 Jul 2006
Posts: 58

PostPosted: Sun Aug 12, 2012 5:15 am    Post subject: vixie-cron issue Reply with quote

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
View user's profile Send private message
olek
Apprentice
Apprentice


Joined: 22 Oct 2011
Posts: 173

PostPosted: Sun Aug 12, 2012 12:06 pm    Post subject: Reply with quote

Try poweroff or shutdown now instead of halt.
_________________
https://plaintext.blog
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3925
Location: Hamburg

PostPosted: Sun Aug 12, 2012 5:22 pm    Post subject: Re: vixie-cron issue Reply with quote

asankaan wrote:

My Cron tab : 30 18 * * * /sbin/halt
*Your* crontab or the crontab of root ?
Back to top
View user's profile Send private message
asankaan
n00b
n00b


Joined: 17 Jul 2006
Posts: 58

PostPosted: Mon Aug 13, 2012 3:20 am    Post subject: Reply with quote

olek wrote:
Try poweroff or shutdown now instead of halt.


Thanks a lot , it works! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum