Author Topic: Schedule Reboot Core  (Read 3488 times)

cyf4746

  • Veteran
  • ***
  • Posts: 63
    • View Profile
Schedule Reboot Core
« on: June 25, 2010, 12:31:37 pm »
Is anyone know how to set the core to reboot at a specific time, such as "reboot at every Sunday 10.00 am"?

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: Schedule Reboot Core
« Reply #1 on: June 25, 2010, 01:54:54 pm »
You should look into the linux cron system.
Don't know why you would want to do this though. If you have any problems that needs reboot to fix, you should look into fixing those instead...

br,
sambuca

cyf4746

  • Veteran
  • ***
  • Posts: 63
    • View Profile
Re: Schedule Reboot Core
« Reply #2 on: June 26, 2010, 07:17:38 am »
Thks Sambuca,
Just to make sure the core will not "hang" after long period running...

cyf4746

tkmedia

  • wants to work for LinuxMCE
  • **
  • Posts: 937
    • View Profile
    • LMCECompatible
Re: Schedule Reboot Core
« Reply #3 on: June 26, 2010, 04:47:25 pm »
Quote
Just to make sure the core will not "hang" after long period running...


This isn't windows ;)


Tim
My Setup http://wiki.linuxmce.org/index.php/User:Tkmedia

For LinuxMce compatible  systems and accessories
http://lmcecompatible.com/

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Schedule Reboot Core
« Reply #4 on: June 26, 2010, 05:32:29 pm »
To actually the your question,

If you look at Advanced > DCE > Commands, you will find Halt Device, which is used by the General Info Plugin.

If you send General Info Plugin a Halt Device, with the PK_Device of the core/hybrid, and set Force to R, then the system will reboot. This is how the buttons in the Advanced Options menu work.

This can done in a variety of ways, from sending it via MessageSend, to triggering it via a Timed Event, etc.

-Thom