SneedScan/sneedscan-automate.sh

7 lines
201 B
Bash
Raw Normal View History

sudo cp clamscan.sh /usr/bin
sudo crontab -l > scancron
sudo echo "0 */6 * * * sneedscan.sh &" >> scancron
sudo crontab scancron
sudo rm scancron
echo "Done! SneedScan will now run every 6 hours. :-)"