All,
I have the command to do the sync:
rsync -avz --bwlimit=20 -e ssh --stats --progress /var/mail/virtual
root@myhiddenhost.mydomain.net:/var/mail/
I would like to rsync automatically. I read about running a daemon, but it seems that running a daemon makes a new server and listens on a port. I would like the sync to happen automatically.
Am I best using a crontab? What's the best way to make sure that program doesn't run at the same time as itself?
Thanks,
David