How i restart my mint after 24 hours automatically

Forum rules
Before you post please read how to get help
harryctg
Level 1
Level 1
Posts: 3
Joined: Wed Dec 26, 2012 5:16 pm

How i restart my mint after 24 hours automatically

Postby harryctg » Fri Jan 04, 2013 4:48 pm

Hello sir
how i restart my linux mint after 24 hours running automatically .

what will be the command plz help me any one
regards
harry

Hawk554
Level 1
Level 1
Posts: 1
Joined: Sat Jan 05, 2013 6:09 am

Re: How i restart my mint after 24 hours automatically

Postby Hawk554 » Sat Jan 05, 2013 7:35 am

You will probably want to use the command crontab. You can look up the syntax at http://ss64.com/bash/crontab.html, great resource I use all the time when the man pages don't work for me.

User avatar
Pilosopong Tasyo
Level 6
Level 6
Posts: 1372
Joined: Mon Jun 22, 2009 3:26 am
Location: Philippines

Re: How i restart my mint after 24 hours automatically

Postby Pilosopong Tasyo » Tue Jan 08, 2013 4:34 am

Use shutdown to reboot after 1,440 minutes and cron to schedule shutdown to run once at startup.
Image
o Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime!
o If an issue has been fixed, please edit your first post and add the word [SOLVED].


Return to “Scripts & Bash”

Who is online

Users browsing this forum: No registered users and 0 guests