[clamav-users] How to get rid of or Fix clamonacc error
newcomer01
newcomer01 at posteo.de
Thu Mar 23 01:33:42 UTC 2023
exact but please check your path's - some will so not work aner the asterik "*" i think will also not work 😉
cron: 0 1 * * * clammy.sh - always space between the values
Von / From: Clamav User Mailinglist <mailto:clamav-users at lists.clamav.net>
An / To: Newcomer01 <mailto:newcomer01 at posteo.de>
CC / CC: Tim Mcconnell <mailto:tmcconnell168 at gmail.com>
Gesendet / Sent: Mittwoch, März 22, 2023 um 23:04 (at 11:04 PM) +0100
Betreff / Subject: Re: [clamav-users] How to get rid of or Fix clamonacc error
> So Marc, you're saying do something like this:
>
> #/bin/bash
> declare clammy.sh
>
> /usr/bin/clamscan --exclude ="^/home/tmick/.clamtk/viruses" --exclude
> ="^/home/tmick/Documents/ACI_Learning/CEH/" --exclude =
> "^/home/tmick/Nextcloud/Documents/ACI_Learning/*" --exclude
> ="^/home/tmick/Nextcloud/*" --exclude = "smb4k" --exclude =
> "^/run/user/tmick/gvfs" --exclude = "^/home/tmick/.gvfs" --exclude =
> "^.thunderbird" --exclude = "^.mozilla-thunderbird" --exclude =
> "^.evolution" --exclude =Mail -i --detect-pua -r /home/tmick --
> log="$HOME/.clamtk/history/$(date +%b-%d-%Y).log" 2>/dev/null # clamtk-
> scan
>
> and just call the script from cron?
> For example 0 1 *** clammy.sh
> correct??
>
More information about the clamav-users
mailing list