how to make a shutdown cron job

Status
Not open for further replies.

tmacka88

Patron
Joined
Jul 5, 2011
Messages
268
Ok i have setup everything I want for my cron job except for the command. Im not quite sure what the command is to shut the freeness down?

Any help?

Sorry for the little knowledge.

cheers
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Here ya go:

shutdown -p now (you can can the word now to some value in minutes if you want to delay it)
 
Status
Not open for further replies.
Top