See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]cronjob for clamav
#4
It took a bit of tweaking but it now works.  Here is the final script:

Code:
0 18 * * SUN root rm -rf /var/log/clamav/freshclam.log
1 18 * * SUN root freshclam
22 18 * * SUN root clamscan -r -i / | grep FOUND >> /home/osamu/virus-scan-reports/virus-scan-report-`date +"\%d-\%m-\%Y"`.txt

'%' symbols need to be escaped or they're interpreted as new lines.
Reply


Messages In This Thread
[SOLVED]cronjob for clamav - by osamu.morozumi - 05-05-2019, 07:41 AM
Re: [SOLVED]cronjob for clamav - by Valtam - 05-05-2019, 08:45 AM
Re: [SOLVED]cronjob for clamav - by osamu.morozumi - 05-05-2019, 11:19 AM
Re: [SOLVED]cronjob for clamav - by Valtam - 05-05-2019, 12:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)