Login   Register  
PHP Classes
elePHPant
Icontem

File: syncatom.bat

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of al dev  >  AtomicTime  >  syncatom.bat  >  Download  
File: syncatom.bat
Role: ???
Content type: text/plain
Description: MS Windows 2000/NT/95/98/ME DOS batch file
Class: AtomicTime
Author: By
Last change:
Date: 2001-07-14 23:28
Size: 1,129 bytes
 

Contents

Class file image Download
echo off
::
:: This is a MSDOS batch file to sync local pc time
:: with the atomic clock of USA official time
::
:: On Windows NT/2000/95/98, you must download the PHP for windows
:: from http://prdownloads.sourceforge.net/phptriad or from 
:: http://www.phpgeek.com 
:: I strongly recommend phpTriad for MS Windows instead of http://www.php.net
:: After installing phpTriad you DO NOT need to start apache.
:: Simply double click on this batch file.
:: You can run this batch file every-day automatically thru scheduler
:: Click on Start==Control Panel==Scheduled Tasks==BrowseFile==syncatom.bat
::
:: See help on set. The %cd% gives current directory c:\>set /?
::
:: echo %cd%
:: dir %cd%\AtomicTime.php

echo Running the program %cd%\AtomicTime.php
echo The program will synchronize the local PC time with Cesium-Atomic clock of NIST http://nist.time.gov

echo You can run this batch file every-day automatically thru scheduler
echo Click on Start==Control Panel==Scheduled Tasks==BrowseFile==%cd%\syncatom.bat

c:\apache\php\php.exe %cd%\AtomicTime.php
echo Completed the batch program ...
pause