|
How to Make ClockWatch Run Once When You Start Windows As an alternative to having ClockWatch installed in the System Tray you can configure Windows to run ClockWatch once and then exit every time you start Windows 95/NT. To enable this you must place a shortcut for that program into the Startup folder. To accomplish this start the Windows Explorer:
Locate the program executable, ClockWatch.exe (usually in C:\Program Files\Beagle Software\ClockWatch.) Use the right mouse button to drag the program icon to the C:\Windows\Start Menu\Programs\Startup folder. When dropping the icon on this folder, click Create Shortcut Here on the popup menu that appears. (Do not click Copy Here or Move Here, which will create problems running the application.) Find the shortcut in the Startup folder. Select the icon with the mouse. Click the right mouse button and select Properties from the pop-up menu. On the Shortcut tab of the properties page add the argument once to the full executable name in the target field leaving a single space between. This configures ClockWatch to run one time in the background batch mode. Close the tab and ClockWatch will be started the next time Windows is booted.
Note: When using in the batch mode, consideration should be given that the system has Internet access at the time the program is run, or the setting will not be made. The Automatic Startup option may be a better alternative since it can be set to operate at timed intervals.
Synchronizing Another Computer to a Computer Running ClockWatch A remote computer can synchronize with the computer running ClockWatch using the net time command available in Windows 95 or Windows NT. The syntax for this to be run from a remote computer not running ClockWatch is: net time \\<clockwatch> /set /yes Where : net time -is the network command \\<clockwatch> is the name of the computer with the correct time. (i.e. \\SERVER_MAIN) /set synchronizes the clock on computer you are executing the command from, with the computer specified. /yes runs the command without verification. Note: ClockWatch Client working with ClockWatch Server offers more flexibility and control over time setting than using the net time command.
Running ClockWatch Automatically Using the 'at' Command Only ClockWatch Server can be run as a service under Windows NT. Other editions of ClockWatch can run automatically in the background on a Windows NT network by using the at command. The at service must be first be started from the net start command or by using the service applet in the Control panel. Syntax for the at command is:
at \\anyconnectedcomputer time /every day command option Where: at - the command anyconnectedcomputer - is the computer where ClockWatch is installed time - is the time to run the command
/every day - is an option to run the command every day at the day and time specified command - the name of the executable to run option - the command line argument for the executable.
For example: at
\\beaglent 01:30 /every:Th,S c:\Program Files\Beagle Software\ClockWatch\ClockWatch.exe once Runs ClockWatch with the
once option every Thursday and Saturday at 01:30 AM on the computer named
beaglent.
|
|