I think the commands to start and stop LMS under pCP are:


Code:
--------------------
    sudo /usr/local/etc/init.d/slimserver start
  sudo /usr/local/etc/init.d/slimserver stop
--------------------


I suspect that 'sudo' may not be needed for cron commands configured via
the tweaks page.

For examples of the cron command format, click on 'more>' after 'Fill
out the crontab fields'

I have a script file that runs at 2am every day, with

Code:
--------------------
    0 2 * * * /home/tc/NightlyJobs.sh
--------------------


So I think you would stop LMS at 11pm every day with

Code:
--------------------
    0 23 * * * /usr/local/etc/init.d/slimserver stop
--------------------


and start it at 6am every day with

Code:
--------------------
    0 6 * * * /usr/local/etc/init.d/slimserver start
--------------------


I haven't tested this, and the need for 'sudo' is TBC - should be easy
enough to check.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=111882

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

Reply via email to