Hi everyone!We use some wrapper for run csync2 on each of nodes: #!/bin/bashlist="node01 node02 node03"trid=$(date +%s)LOGS_PATH=/var/log/csync2_mastermkdir -p $LOGS_PATHCUR_DATE=`date +%F`find $LOGS_PATH -type f -mtime +30 -exec rm -f {} \; 2>&1 | tee $LOGS_PATH/last.log | tee -a $L
W dniu 2015-01-06 o 04:16, Marc Fournier pisze:
> Terrible subject, sorry … basically, if I setup cron to run csync2 every 10
> minutes, if it takes longer then 10 minutes, is there anything that prevents
> another instance of csync2 from starting up?
Try flock for locking, works great with