ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
clamscan timestamp into reports.log possible?
brcisna


Joined: 15 May 2008
Posts: 0
Reply with quote
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
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
you can use system utilities before running the scan batch file:

date /T >> reports.log
time /T >> reports.log
----------------------------------- >> reports.log
clamscan.exe ...
View user's profileSend private message
how do i add the switches into my batch file?
brcisna


Joined: 15 May 2008
Posts: 0
Reply with quote
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
View user's profileSend private message
Ok Got time & Date stamp in the reports.log
brcisna


Joined: 15 May 2008
Posts: 0
Reply with quote
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
View user's profileSend private message
clamscan timestamp into reports.log possible?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic