Probably,.. Have never actually done it,.. You could also try 'reboot' or 'shutdown -r now' all without the quotes.
Hi, I have added the following to my crontab....in bold/red
Code:root@dm7020 ~ # crontab -l 0 6 * * * /var/bin/oztivo_au.sh > /tmp/oztivo_au.sh.log 2>&1 0 4 * * * init 6 root@dm7020 ~ #
I am assuming that this is all I will need to allow an reboot at 4am each morning??
thanks
porkop
__________________________________________________ __
Statistically, if you wait long enough, everything will happen!
Look Here -> |
Probably,.. Have never actually done it,.. You could also try 'reboot' or 'shutdown -r now' all without the quotes.
Last edited by jimbo123; 18-07-11 at 08:46 PM.
be interesting to see if it works (as it should)...can you please post if it works.
edit: has to be a shutdown.sh or reboot.sh sitting somewhere if all else fails.
Last edited by z1gg33; 18-07-11 at 08:54 PM.
If you feed ducks at a pond, chances are your bound to feed a goose or two without even knowing it.
Most Unixy flavors have them located within /sbin
e.g. for the VuDuo:
and for a Linux host I have here:Code:root@vuduo ~ # which reboot /sbin/reboot root@vuduo ~ # which shutdown /sbin/shutdown root@vuduo ~ #
Code:jimbo@mythtv:/tmp$ which reboot /sbin/reboot jimbo@mythtv:/tmp$ which shutdown /sbin/shutdown
Hi guys, just an update, the "init 6" didnt work, I replaced it with a "reboot" and now the dm7020 reboots every morning at 4am.
That has taken care of any issues I have experienced from prolong and continual running without a break.
__________________________________________________ __
Statistically, if you wait long enough, everything will happen!
z1gg33 (02-08-11)
Bookmarks