Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1861 → Rev 1862

/alcasar.sh
1706,6 → 1706,14
# activation du "chien de garde" (daemon-watchdog) toutes les 18'
*/18 * * * * root $DIR_DEST_BIN/alcasar-daemon.sh > /dev/null 2>&1
EOF
 
cat << EOF > /etc/cron.d/alcasar-update-categories
# update malware categories every 12 hours
* 0-23/12 * * * rsync -rv rsync://ftp.ut-capitole.fr/blacklist/dest/malware /etc/dansguardian/lists/blacklists/malware
EOF
 
chown apache:apache /etc/cron.d/alcasar-update-categories
 
# removing the users crons
rm -f /var/spool/cron/*
} # End cron