View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Dec 01, 2005 10:41 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
How can I make it work?
I added a cron job through webmin but the command is not run.

Execute cron job as: root
command: reboot
input to command: (I left it empty).
When to execute, I tried 3 minutes after creation or edit to test it.

it doesn't reboot.

I tried scheduled commands and it worked.

So what do I do wrong?


Last edited by zetoune on Thu Dec 01, 2005 11:03 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 01, 2005 10:47 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Use the full path to the command: /sbin/reboot


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 01, 2005 11:03 pm 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
tjc. You're the man!
I didn't think to write the whole path because it worked in scheduled command as is.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu