Wirrunna wrote: > I have used Server Power Control for years to shut my Squeezebox server > down, more recently using the excellent End of Day functions. > I also use a custom command to increase the data base cache size > (cli//PRAGMA%20cache_size%20%3D%20250000) that appears to speed up > various browsing functions. The only drawback with this command is that > it is manual - I have to remember to execute it as my server wakes up > automatically each morning. > Is there a way of executing a command when the server starts up, in > other words a "Start of Day" function ? > > At End of Day I shut down the server rather than hibernate as the server > is also used as a TV recorder and the program guide is updated as part > of the start up process.Ola, John! Re 'Start of Day' function:
If you give your custom command the label '.autoexec', it will get executed when SrvrPowerCtrl is initialized. Note: any custom command label that starts with a '.' gets hidden and doesn't show up on the SrvrPowerCtrl menu. Hidden commands are still available from the cli, of course. Note, some time ago (I'm not sure if it started with lms 7.7.3 or 7.8) I had to redo all my SrvrPowerCtrl custom command cli strings, replacing the '%20's with spaces. I.e. I had to un-percent escape them. If your cli command doesn't work, you might try that. ------------------------------------------------------------------------ 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
