1713,12 → 1713,10 |
|
# Enabling category update from rsync |
cat << EOF > /etc/cron.d/alcasar-rsync_bl |
# mise a jour automatique des categories de la BL. Si le fichier /usr/local/etc/update_cat.conf est vide, on ne fait rien. |
# Automatic update of BL via rsync. The categories are listed in the file '/usr/local/etc/update_cat.conf' (no sync if empty). |
0 */12 * * * root $DIR_DEST_BIN/alcasar-bl.sh --update_cat > /dev/null 2>&1 |
EOF |
|
chmod 644 /etc/cron.d/alcasar-update_cat |
|
# removing the users crons |
rm -f /var/spool/cron/* |
} # End cron |