fix cronjob message

This commit is contained in:
VirtuBox 2018-07-14 15:10:54 +02:00 committed by GitHub
parent b07f07de37
commit f38f9d0eb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
/etc/init.d/clamav-freshclam stop
# check if database is outdated
/usr/bin/freshclam -v >> /var/log/result_freshclam.log
/usr/bin/freshclam -v >> /var/log/result_freshclam.log 2>&1
# update virus database
/etc/init.d/clamav-freshclam start
/etc/init.d/clamav-freshclam start >> /dev/null 2>&1