shutdown server in a particular time
Friends ,
Suppose I have to start my Linux server at 7 am , Now If i shutdown it at 10 pm or 7 am in next day (suppose next day is oct26'2007), Then what will be the shutdown command ? |
This will shutdown in 24 hours with a warning 30 seconds before
Code:
shutdown -hP -t 30 1440 Log out |
Another option would be to use 'at'.
Code:
echo halt|at 7:00am tomorrow Cheers, Tink |
All times are GMT -5. The time now is 03:33 AM. |