Hi Gary, > I am converting old PCs to thinclients by disconnecting the hard drive > and then using openthinclient to run the hardware. The PCs have two > scheduled tasks that shutdown the computer - one runs at 6:00 pm local > time and the other 11:00 pm local time. (sometimes people start a > computer back up after 6:00 pm so the 11:00 pm task catches that). I do > this on the PC to keep Windows XP sane and to save energy. I would like > to be able to schedule a shutdown of the client as there is no reason > for them to be on overnight and was wondering if this is possible. > > One idea I had was to create a "command line" application that > autostarted. I used the command "shutdown -h 18:00". I tried both with > quotes and without. It does not work and I see the following error in > the client log > <date time> , 449 WARN <MAC address> <IP address> user python: > launcher: [WARNING] in: launcher.?(): Return Code not zero(None): > cmdline: "shutdown -h 18:00" , return code: 32512
This could be completely off-base, but you might try adding an ampersand after the command line in order to 'background' it, if you didn't already try that.. I'd be interested in your results... Thanks, G -- =========================== Gene Cooper Sonora Communications, Inc. 936 W. Prince Road Tucson, AZ 85705 (520) 407-2000 x101 (520) 888-4060 fax ------------------------------------------------------------------------------ _______________________________________________ The Open Source Thin Client Solution http://openthinclient.org openthinclient-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openthinclient-user