Cmdtime 3 Script

Almost anything goes -- politics of tech, humor, the internet.... Looks like we're gonna be here for a while....

Cmdtime 3 Script

Postby cuttheredwire » 08/28/10, 6:59 am

CMDTIME 3 .......... I use this in a script to sync to an atomic clock (scroll to bottom of page). "Cmdtime 3 is easy-to-use command-line utility which adjusts computer's date and time via Internet Time Servers. It's recommended to use it either standalone, or in batch-files, or with external schedulers.".....(free).....GO THERE!

Here is the aforementioned script. With no parameters, the program just looks at the time and tells you how far your system is off. This script sets it to check one server (/q = quick) and actually change the system time. It also uses the find command to filter and clean up the output. Enjoy. >:]

Code: Select all
@echo off

: by: cuttheredwire (at gmail)
: on: 2009-10-27
: in: sync.bat
: to: make cmdtime easier to use.

echo Checking time.

cmdtime.exe /q sync|find /v "*"

echo.

pause
(• ShellCity's Second Banana •• Skinnables's Newsie •)
cuttheredwire
BIG GIANT HEAD I Get Free Beer
BIG GIANT HEAD I Get Free Beer
 
Posts: 37
Joined: 12/30/02, 12:00 am

Return to Free Beer

Who is online

Users browsing this forum: No registered users and 1 guest

cron