I have two shared hosting servers and I need to sync a directory with subfiles/directories using rsync
via SSH automatically.
Mean: If server1 had changed server2 updates the changes. If server2 had changed server1 updates the changes.
I can use cron but I don't know the best way to do that.