mvordeme;428352 Wrote: 
> What is this?
What is your current offset from UTC?  1243895280 is Mon, 01 Jun 2009
22:28:00 UTC.

Are you sure you don't have any alarms set or have the SrvrPowerCtrl
End-of-day feature set?  Those are the only two conditions that ought to
trigger the setting of a wake-up.

How are you scheduling the library rescan?  Are you using the "Rescan
Music Library" plugin?

I'm not doing anything in SrvrPowerCtrl to directly interact with the
Rescan Music Library plugin.  I suppose I ought to, though.  But as it
stands now, your server ought to go to sleep and sleep right through the
rescan time...unless you've scheduled a SrvrPowerCtrl End-of-day custom
action.  

That's how I would do it:  enable a custom end-of-day script to run at
00:30.  Set the end of the EOD period to 0:35.  This script can be
anything...but basically you want something that does nothing. That way
the server will wakeup for the "nothing" EOD event and the Rescan plugin
will then do it's job.

Alternately, you could remove the Rescan plugin from the picture and
have your EOD custom script trigger a rescan via the CLI.

But in any event, I should see if I can figure out how to parse the
Rescan plugin prefs and set an auto wakup based on the settings there. 
Thanks for the idea.  That's two in two days from you.  Keep going. 
Don't be shy!

PS: there is a fundamental difference between windows and linux in
terms of how these hardware wake-ups are accomplished.  In the linux
realm, we're programming the hardware RTC wake alarm directly and this
works very reliably.  Under windows, we're running a program in the
background that schedules a timer with the windows kernal, asking that
the system get woken up to service that timer at the appropriate time. 
In my experience, this is not so reliable...at least compared to the
linux method, anyway.  I haven't been able to get this to work at all
yet with Windows 7.

So, on a windows server, if you put the system to sleep via
SrvrPowerCtrl and then manually wake it back up again via the power
button, that background wait-until-wakeup task will still be running and
may potentially interfere with a subsequent suspend / wake schedule. 
Use the task manager to make sure there are no old SCPowerTool.exe
instances running before you test again.  That, or reboot your server.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to