ClamAVWeeklyScan: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
No edit summary
m (Drew moved page ClamAV Weekly Scan to ClamAVWeeklyScan without leaving a redirect: rename to ClamAVWeeklyScan)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Run weekly at 3am on Friday
Run weekly at 3am on Friday
<pre>0 3 * * 5 clamscan -i --no-archive /mnt/raid5/ | mail -s "drew-desktop: ClamAV Scan" example@example.com;</pre>
<syntaxhighlight lang=bash>
0 3 * * 5 clamscan --scan-archive=no -i -r /mnt/raid5/ | mail -s "drew-desktop: ClamAV Scan" drew@invadelabs.com;
</syntaxhighlight>


* --no-archive is probably a bad idea
* --scan-archive=no is probably a bad idea

Latest revision as of 17:34, 4 March 2018

Run weekly at 3am on Friday

0 3 * * 5 clamscan --scan-archive=no -i -r /mnt/raid5/ | mail -s "drew-desktop: ClamAV Scan" [email protected];
  • --scan-archive=no is probably a bad idea