Links: | TheFreeSite.com's Freebies | Soft14.com freeware & shareware | Desktop Calendar |
        Tinnes Software Title
About News Programs Accolades Stick Art Contact


Timed Shutdown - Command Line Parameters

These can be used while starting Timed Shutdown to automatically configure it. This can be useful if you often use the same settings, if you want to use it at the end of a batch file or when Windows starts.




Triggers

-tXXXXXX


This is used when you want to set the Time trigger. The "-t" tells the program it's a Time trigger, and the six digits after are used to set the shutdown time. The first two are the hours, the next two are the minutes and the last two are the seconds (e.g.. HHMMSS).


So "t123456" represents 12:34:56 PM. The time MUST be entered in 24 hour format and ALL SIX digits must be used. By this I mean that if you wanted to set the time for 1 o'clock in the morning you would use "t010000".


NOTE: The hours should be between 00 and 23, and the minutes and seconds should be between 00 and 59.


-iXX


This is used when you want to use the Internet Connection trigger. The two digits that follow the 'i' are the time (in seconds) the program should wait before triggering the shutdown. The default is 60 and again you must use both digits e.g. If you only want the program to wait 7 seconds then you must write 07.


NOTE: The value must be between 01 and 60.


-uXXXX


This is used when you want to set the CPU Usage trigger. The four digits that follow the "-u" configure the settings. The first two are the Target CPU Usage and the last two are how long the CPU must be under that usage to shutdown. So for '3059' the CPU usage must be under 30% for 59 seconds. Again, all four digits must be used so if you wanted to use 8% then you would write it 0859.


NOTE: CPU Usage must be between 01 and 99, and the wait value between 01 and 60.


-dXXXXXX


This is used when you want to set the Countdown trigger. Similar to the Time trigger, the trailing six digits are used to set the hours, minutes and seconds (HHMMSS). For example "d123456" will be triggered after 12 hours, 34 minutes and 56 seconds.


NOTE: The hours should be between 00 and 23 and the minutes and seconds between 00 and 59. The maximum countdown is 23 hours, 59 minutes and 59 seconds. e.g. "-d235959"


-s


This trigger is instantaneous. As soon as it's called, the computer will shutdown.



Options

-cd


This tells the program to use the Final Countdown option. I recommend you include this for all your shutdowns just incase. You can specify the number of seconds to use for the final countdown e.g. -cdX (X being a value between 1 and 60). If no value is set, then the value last used in the program will be used. If the program hasn't been started before, the default value is used.


-f


This tells the program to use Force when shutting down (see the FAQ for an explanation of the Force option). I recommend you use this when you want to be sure your computer shuts down fully.


-a1


This selects what to do when the trigger is activated e.g. Shutdown, Restart etc. The number after the "-a" corresponds to each action...


-a1 - Shutdown

-a2 - Restart

-a3 - Log Off

-a4 - Hibernate

-a5 - Disconnect


If there is no "-a" switch present then the default will be to Shutdown.


NOTE: The number after "-a" must be 1, 2, 3, 4 or 5.



Examples

Shutdown after the internet connection has been lost for 60 seconds (display a final countdown and use force)...


C:\Program Files\Timed Shutdown\T_Shutdown.exe -i60 -f -cd


Restart at 2:30 PM (display a final countdown and don't use force)...


C:\Program Files\Timed Shutdown\T_Shutdown.exe -t143000 -cd -a2


Log off after CPU usage is less then 20% for 25 seconds. (no final countdown and use force)...


C:\Program Files\Timed Shutdown\T_Shutdown.exe -u2025 -f -a3


Shutdown after 12 minutes. (display a final countdown and don't use force)...


C:\Program Files\Timed Shutdown\T_Shutdown.exe -d001200 -cd -a1


Shutdown immediately. (display a final countdown and use force)...


C:\Program Files\Timed Shutdown\T_Shutdown.exe -s -f -cd


Back Button


Desktop Calendar Banner