Advertisement
Guest User

Cron

a guest
Feb 21st, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #!/bin/bash
  2. USER=user
  3. # Run Scanner - Daily
  4. clamscan -r /home/user/Downloads/ --exclude-dir=/sys/ --move=/home/user/Scan/Virus --quiet --infected --log=/var/log/clamav/scan.log
  5. cp /var/log/clamav/scan.log /home/user/Scan/Daily.log
  6. chown arcademan /home/user/Scan/Daily.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement