PaulM47
Joined: 30 Jul 2008 |
Posts: 0 |
|
|
 |
Posted: Wed Jul 30, 2008 4:50 pm |
|
 |
 |
 |
 |
Hi, I've loaded ClamWin onto a PC used as a server that generally has no-one logged on. The scheduled scan doesn't run unless I'm logged on. Is there a way to make the scheduled scan run when I'm not logged on ?
|
|
alch
Site Admin
Joined: 27 Nov 2005 |
Posts: 0 |
|
|
 |
Posted: Thu Jul 31, 2008 12:20 am |
|
 |
 |
 |
 |
you can use windows task scheduler and clamscan.exe command line tool.
The best way to find out the command line parameters is to run the desired scan from the GUI and then open %temp%\clamwin1.log file in Notepad. The last used command line should be printed there.
|
|
vreid47362
Joined: 05 Jul 2006 |
Posts: 0 |
|
|
 |
Posted: Thu Jul 31, 2008 2:20 pm |
|
 |
 |
 |
 |
If you use task scheduler on a Windows machine, that user account must be logged on in order for the scan to run. If you want the scan to run, regardless of who is logged on, you will need to create a batch file and schedule the task using either schtasks or at (at is on server 2003, 2000, nt4, XP, 2000 workstation, and nt4 workstation).
See my post here: https://forums.clamwin.com/viewtopic.php?t=1557 for a sample piece of code (turn this into a batch file) that will scan a selected set of directories, log the results to Windows application log, and email the results to you.
Vaughn Reid III
|
|
PaulM47
Joined: 30 Jul 2008 |
Posts: 0 |
|
|
 |
Posted: Thu Jul 31, 2008 2:50 pm |
|
 |
 |
 |
 |
Many thanks for your replies, I'll give it a try.
|
|