![]() |
![]() | script a virus scan | ![]() |
mmancini
![]() |
![]() |
I would like to know the command line to run a manual scan so I can script it using Kaseya. Thanks!
|
|||||||||||
|
![]() |
![]() | ![]() |
drgoa.r
![]() |
![]() |
run "clamscan --help" from command line
it will show you all command line options |
|||||||||||
|
![]() |
![]() | ![]() |
![]() |
![]() | ![]() |
drgoa.r
![]() |
![]() |
there is a command line option to specify where your database is. you can view your path in Preferences>File Locations |
|||||||||||||
|
![]() |
![]() | ![]() |
mmancini
![]() |
![]() |
got it! thanks! but the freshclam is giving a parse error at line 1
|
|||||||||||
|
![]() |
![]() | ![]() |
drgoa.r
![]() |
![]() |
freshclam.exe has --help option too
![]() --datadir=DIRECTORY is probably the command you need but if you run all time from command line - then probably the better choice is to use sherpya's binaries, without the python gui from clamwin: https://oss.netfarm.it/clamav/ |
|||||||||||
|
![]() |
![]() | ![]() |
mmancini
![]() |
![]() |
I see the help and I see the manual but there are some differences and errors.
I'm running: freshclam --quiet --datadir="c:\documents and settings\all users\.clamwin\db" --config-file="program files\clamwin\bin\clamwin.conf" but I get parse error at line 1: unknown option and can't parse the config file |
|||||||||||
|
![]() |
![]() | ![]() |
drgoa.r
![]() |
![]() |
clamwin.conf is configuration file for clamwin, not for freshclam.
also the location you choose pointing to default config file. actual clamwin config file is located here: "c:\documents and settings\USERPROFILE\application data\.clamwin\clamwin.conf" try it, but I doubt you will have success with it too. you need freshclam.conf, try sherpya's binaries, they are the same which clamwin uses, but without gui and dedicated to command line usage only. |
|||||||||||
|
![]() |
![]() | ![]() |
sourceminer
![]() |
![]() |
You know I already have the script posted on the Kaseya Forums right?
|
|||||||||||
|
![]() |
![]() | I do now! | ![]() |
mmancini
![]() |
![]() |
I dig it up there! Thanks!
|
|||||||||||
|
![]() |
![]() | script a virus scan | ![]() |
|
||
![]() |
![]() |
Powered by phpBB © phpBB Group
Design by phpBBStyles.com | Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.
Design by phpBBStyles.com | Styles Database.
Content © ClamWin Free Antivirus GNU GPL Free Software Open Source Virus Scanner. Free Windows Antivirus. Stay Virus Free with Free Software.