[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Can you help me with this one?



Any chance you can help me with this (simple) little query?

I want to set a (Mandrake 7) box up to act as a Samba server to a 
predominantly M$ populated network. The Mandrake box will like as not 
operate without any logins for the vast majority of the time. Since very 
few people here know anything about Linux I want to keep the system as 
"hands free" as I can. We normally shut our servers down at close of play 
on a Friday afternoon and I'd like to automate this task by running "halt" 
as a cron job. My question is, what would be the cron line I need?

I've done some playing around with /etc/crontab but the following line only 
seems to work when root is logged in.

00 15 * * * root halt

Any help appreciated

Steve


---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.