Aengus and others,

>You don't need to use perl to do scheduling on NT. You can schedule a 
>job to run using the AT command, and, depending on how complex your 
>requirements are, a simple 3 line batch file may be sufficient.
>
>CD /D x:\folder\Analog
>for /f "tokens=2,3 delims=/ " %%f in ('date /t') do set today=%%f%%g
>ANALOG y:\folder\ex00%today%.log
>
>(You can make it much more complex than this if you want, but this will 
>run Analog against the IIS log file with todays date. It works well for 
>sites west of GMT, where the log file rotates before the end of the day, 
>but you might have to make it a bit more complex for locations east of 
>GMT, where you need to use yesterdays date).
>
Many thanks for replying me.

I have two more questions:

Looks like I can use AT command to run analog automatically. How to write a
AT command--on my Windows NT server. My Analog is located on E:\Analog and
log files are located on c:\winnt\system32\logfiles\w3svc1\in*.log

After writing the AT command on a file how should I name the file and where
should I put it.

Many thanks in advance.

-Wangyal

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to