Welcome, Guest. Please login or register.
Did you miss your activation email?
Thursday 05 December 2024, 12:17:56 pm

Login with username, password and session length

Visit the Official Endian Reference Manual  HERE
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  how to reboot properly using commandshell?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: how to reboot properly using commandshell?  (Read 14300 times)
scp
Full Member
***
Offline Offline

Posts: 16


« on: Wednesday 06 June 2012, 07:06:41 am »

Hi I want to automatically reboot every day using cron.daily.

Is this the proper command for a daily reboot cron job?

#!/bin/sh
/sbin/reboot
exit 0

Thanks for your help!
Logged
kashifmax
Sr. Member
****
Offline Offline

Gender: Female
Posts: 108


« Reply #1 on: Thursday 07 June 2012, 09:13:01 pm »

Shutdown command is the good way to do.

By the way, this is an irrelevant question and irrelevant category. You should ask such questions on another forums Cool
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.063 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com