ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
looking for script? freshclam update through task scheduler
clam.Man


Joined: 29 Nov 2010
Posts: 6
Reply with quote
i want to run freshclam as a scheduled task, but without seeing any window (currently using cmd.exe which works, but that flashes the cmd window)

i don't know what my options are. i think a simple VB script might work, but i know nothing about VBS and i didn't see anything on the forums or elsewhere that helped me

i found and modified a script to delete the logs, but i don't know how to run freshclam

Code:
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
fso.DeleteFile "C:\Users\Admin\AppData\Roaming\.clamwin\log\freshclam.log", True
fso.DeleteFile "C:\Users\Admin\AppData\Roaming\.clamwin\log\ClamScanLog.txt", True
fso.DeleteFile "C:\Users\Admin\AppData\Roaming\.clamwin\log\ClamUpdateLog.txt", True
View user's profileSend private message
looking for script? freshclam update through task scheduler
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