ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
How To create Windows Task clamscan.exe + Send Email Alert
smad


Joined: 14 Feb 2008
Posts: 0
Location: indonesia
Reply with quote
Hi,

I think the title is clear.
I run a daily scan on my server, which is working fine.

Code:

"C:\Program Files\ClamWin\bin\clamscan.exe" --keep-mbox --stdout --database="C:\Documents and Settings\All Users\.clamwin\db" --log="C:\Documents and Settings\All Users\.clamwin\log\ClamScanLog.txt" --exclude="[^\]*\.dbx$" --exclude="[^\]*\.tbb$" --exclude="[^\]*\.pst$" --exclude="[^\]*\.dat$" --exclude="[^\]*\.log$" --exclude="[^\]*\.evt$" --exclude="[^\]*\.nsf$" --exclude="[^\]*\.ntf$" --exclude="[^\]*\.chm$" --recursive E:\


But now, i would like that if there is a virus, the system send me email.
I already configure ClamWin Preference, but there is no effect if you run a task.

So, what's the command to send automatically an email alert if there is a Virus.
Thanks Smile
Smad
View user's profileSend private message
Umhhh :-/
smad


Joined: 14 Feb 2008
Posts: 0
Location: indonesia
Reply with quote
No idea ?

is it not possible?

or I didn't explain my question well ?
Crying or Very sad Question
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
you can use windows command line mailer, such as blat. Then check the ERRORLEVEL and send an email accordingly
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 0
Reply with quote
you can use windows command line mailer, such as blat ( https://www.blat.net/ ). Then check the ERRORLEVEL and send an email accordingly
View user's profileSend private message
ok thanks
smad


Joined: 14 Feb 2008
Posts: 0
Location: indonesia
Reply with quote
ok, I find this post.

https://forums.clamwin.com/viewtopic.php?p=7782

Works great.
thanks
View user's profileSend private message
How To create Windows Task clamscan.exe + Send Email Alert
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