How can I set my box to automatically reboot in the middle of the night?
It can get very laggy at times, so a daily reboot should help a little.
Automatic Reboot Cron manager DM500 ?
- ddaddy
- Thread is marked as Resolved.
-
-
1. install crond/crontab (default installed in pli images)
2. enable/start crond from blue panel, settings, services to run
3. from telnet issue crontab -e and put:1 x * * * /sbin/reboot
where x = the time you want to reboot your dreambox, calculated at 24-hour format
1 4 * * * /sbin/reboot
syntax of *:
minute / hour / day / month / dayofweek / command - the user root, reboot the system
Your dreambox will reboot every 4 am.
4. press Escape then ZZ to save and exit the editor
-
That confused me a little lol
Do I put
1 4 * * * /sbin/reboot
For a 4am reboot? -
Also, I can't seem to create a new line for it!
-
That confused me a little lol
Do I put
1 4 * * * /sbin/reboot
For a 4am reboot?
That is from the pli wiki but i think it should be 0 4 * * * /sbin/reboot
this will work either 4am or 2pm depending which you go for.As for the box being laggy check the load on cccam, block unwanted cards and monitor usage from your peers. -
Also, I can't seem to create a new line for it!
Have not tried this myself, never seen the point. -
Rebooting or adding a line in telnet? Lol
Seriously though, I can't add a new line in telnet.
Anyone know how to use telnet properly? -
Sorted it.
When the editor loads, you need to press i to enter insert mode.
Then add your line, then press Esc then ZZ to save (You must hold shift and press zz)0 4 * * * is 4am
1 4 * * * is 04:01am -
Sorted it.
When the editor loads, you need to press i to enter insert mode.
Then add your line, then press Esc then ZZ to save (You must hold shift and press zz)0 4 * * * is 4am
1 4 * * * is 04:01am
Well done mate, glad you have it working. -
Anyone know now to do this in dream elite
-
"3. from telnet issue crontab -e"
Where can that be found?
-
Type 'crontab -e' in a telnet session window after logging in.
-
telnet session window??
Im lost!! lol...
I am the Spiderbox mod after all lol...
Can you explain it a bit ddaddy?
Do I do that through DCC?
-
Yes through dcc and you then have options on the left
-
I've that done anyways so hope its ok!!
Cheers lads! :top:
-
when I input "crontab -e" i get no such file or directory ?
Just found blackhole cron manager in Dream Elite image ;-) much easier.
-
Maybe cron wasn't installed and enabled.
-
try this for 500s also works in 500+s : http://linuxsat-shares.com/dm5…3447-reboot-au-500-a.html
caz -
master G
Moved the thread from forum DM500 - DM500s Support to forum Enigma1 Support.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!