|
@ -3,3 +3,15 @@ |
|
|
## REQUIRES: 0k-manage mail |
|
|
## REQUIRES: 0k-manage mail |
|
|
|
|
|
|
|
|
ln -sf /opt/apps/0k-manage/src/etc/cron.hourly/check-* /etc/cron.hourly/ |
|
|
ln -sf /opt/apps/0k-manage/src/etc/cron.hourly/check-* /etc/cron.hourly/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ln -sf /opt/apps/0k-charms/rsync-backup/resources/bin/mirror-dir-check /usr/local/sbin/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cat <<EOF > /etc/cron.d/mirror-dir-check |
|
|
|
|
|
SHELL=/bin/bash |
|
|
|
|
|
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin |
|
|
|
|
|
|
|
|
|
|
|
35 * * * * root mirror-dir-check -d "core-06.0k.io:10023" -n '12 hours' | logger -t mirror-dir-check |
|
|
|
|
|
|
|
|
|
|
|
EOF |