gharris999;420926 Wrote: > Do any of the following: > > * Don't enable "Monitor Sleep Timers" in the first place. > > -- or -- > > * Set a block that inhibits shutdown/suspend, etc. You can do that > many different ways, including from SrvrPowerCtrl's menu. See the > readme.txt for details. > > -- or -- > > * Create a custom script with the chores that you want executed over > night. Then point the "Custom end-of-day action command" at that script > (on linux, include sudo and put an appropriate entry in /etc/sudoers). > Enable "Perform end-of-day action". Set the "Allowed idle time > (minutes)" to 0 (zero). Set the end-of-day start and end times for 2:00 > am and 2:05 am. Finally, include a "setblock" command at the head of > your script: > > linux: touch /var/lock/spc-block > windows: echo Block! >C:\Windows\temp\spc-block > > ..and clear the block at the end of the script: > > linux: rm --force /var/lock/spc-block > windows: del /F /Q C:\Windows\temp\spc-block > > With this setup, SrvrPowerCtrl will wake your server up at 2:00 am and > perform the chores script and then put itself back to sleep when the > chores are done. > > -- or -- > > Create a linux cron job or a windows scheduled task that executes your > chores script at the appropriate time, say, 2:01 am. Then create a > "silent" alarm for 2:00 am or whathaveyou. A silent alarm would just be > a playlist with one entry: a mp3 or wav file of silence. SrvrPowerCtrl > will wake up the server for the alarm. With the server awake, the cron > job / scheduled task fires. > > Personally, I use the "End of day" option above. My "chores" script > performs an OS update, does svn updates of my SqueezeCenter > installations and finally reboots my system.
I don't really want to mess around with scripting and stuff..the only viable option that I can see for me is option 1, however this means that I can't enable/diasable this from controller/iPeng. Ideally it would be great if we could control the "monitor sleep timer" functionality from the controller or iPeng. -- panos_k75 ------------------------------------------------------------------------ panos_k75's Profile: http://forums.slimdevices.com/member.php?userid=18149 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
