brcisna
Joined: 15 May 2008 |
Posts: 0 |
|
|
 |
Posted: Sat May 17, 2008 3:24 pm |
|
 |
 |
 |
 |
Hello list,
I got my scheduled scans via Windows Task Scheduler,all set up on Win2003 server.and are running fine each night now. Is it possible to show the start time of each scheduled scan in the Clamwin report.log file ? The report is only showing the elapsed time. I don't really need this but all the other higher ups will be confused,and second guess me on knowing when the report/scan actually run.
Thanks again for Clamwin!
Barry Cisna
|
|
alch
Site Admin
Joined: 27 Nov 2005 |
Posts: 0 |
|
|
 |
Posted: Sun May 18, 2008 3:09 am |
|
 |
 |
 |
 |
you can use system utilities before running the scan batch file:
date /T >> reports.log
time /T >> reports.log
----------------------------------- >> reports.log
clamscan.exe ...
|
|
brcisna
Joined: 15 May 2008 |
Posts: 0 |
|
|
 |
Posted: Sun May 18, 2008 3:25 pm |
|
 |
 |
 |
 |
Alch,
Thanks for the response. How would I add the date & time switch into my bat file for clamscan? I have a batch file as follows: "c:\Program Files\Clamwin\bin\clamscan.exe" -ri - d "c:\Documents and Settings\All Users\.clamwin\db" -l "c:\Documents and Settings\All Users\.clamwin\log\ClamScanLog.txt" c:
This is being started by Winodws Task Scheduler of course.
Thanks,
Barry
|
|
brcisna
Joined: 15 May 2008 |
Posts: 0 |
|
|
 |
Posted: Sun May 18, 2008 6:49 pm |
|
 |
 |
 |
 |
Hi Alch,
Thanks again for the feedback. I Followed your instructions and added the two lines you specified to my existing batch file(at the top of batch file), to run clamscan,and am getting the start time & date above the clamscan in my reports.log file. My Higher ups will be happy now ,knowing the actaul dates on each scan!
Thanks a Million!
Take Care,
Barry
|
|