forked from inverse-inc/packetfence
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpacketfence.cron.d
More file actions
15 lines (11 loc) · 809 Bytes
/
packetfence.cron.d
File metadata and controls
15 lines (11 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# /etc/cron.d/packetfence: crontab entries for the packetfence package
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# Database backup and maintenance script
30 00 * * * root /usr/local/pf/addons/database-backup-and-maintenance.sh
# Active / Passive synchronization
#SYNC_SERVER_IP=X.X.X.X
# Synchronization for /usr/local/pf
#*/15 * * * * pf [ ! -d /var/lib/mysql/pf ] && rsync -e 'ssh -i /usr/local/pf/.ssh/packetfence-sync' --delete -logDprtuv --exclude=logs/* --exclude=var/* --exclude=.ssh/* $SYNC_SERVER_IP:/usr/local/pf /usr/local
# Synchronization for /usr/local/fingerbank
#*/15 * * * * pf [ ! -d /var/lib/mysql/pf ] && rsync -e 'ssh -i /usr/local/pf/.ssh/packetfence-sync' --delete -logDprtuv --exclude=logs/* $SYNC_SERVER_IP:/usr/local/fingerbank /usr/local