Linux Lite 7.6 Final Released - Click here for more


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]cronjob for clamav
#2
Try:

Code:
0 18 * * SUN clamscan -r -i / | grep FOUND >> /home/osamu/virus-scan-reports/virus-scan-report.txt; mv /home/osamu/virus-scan-reports/virus-scan-report.txt /home/osamu/virus-scan-reports/virus-scan-report-`date +"%d-%m-%Y"`.txt

or whatever date variables you want to include.
Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
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 Valtam - 05-05-2019, 12:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)