[wpkg-users] Which RebootCmd when Installing At Shutdown ?

Nicolas LEBRUN nicolas.lebrun at ac-orleans-tours.fr
Thu Apr 23 12:03:21 CEST 2009



Tomasz Chmielewski a écrit :
> Nicolas LEBRUN schrieb:
> 
>>> Why don't you use "shutdown -r -t 0" instead (assuming you use 
>>> anything more modern than Windows 2000)?
>>
>> Only Windows XP sp3
>>
>> PowerOff allows to schedule shutdown on every evening... and I installed
>> it to shutdown at a random time between 19h00 and 20h00 ...
>>
>> "shutdown -r -t 0" is for a reboot, is'nt it ?
> 
> Yes, it is.
> /? will show you different options
> 
> 
>> What I want is having a "shutdown" (as scheduled by "poweroff") neither
>> a "reboot" ( as needed by the package ) ... If the station reboots on
>> next day, it is sufficient to me.
>>
>> I thought I could add a rebootcmd in config.xml which could make a
>> "shutdown" rather than a "reboot".
>>
>> Not sure I'm clear ...
> 
> Yes, you are now.
> shutdown /? should give you some ideas.
> 

Well, I suppose

<param name='rebootCmd' value='shutdown -s -t 0' />

should make the job ... no ?

I just want to be sure, as modifying config.xml will affect all stations ...

Thx for the advices






More information about the wpkg-users mailing list