I have two application servers clustered behind a load balancer on aws. Both of them connect to a ldap server for authentication.
I have a rsync script to run on the second application server to sync the cache folder from the first server. I can run the rysnc script under root user without problem. But how can I add it to cron job to run it automatically. Do I need a special user to run it or I can run it under "root" user?
Also, I think I need implement keyless ssh authentication. How could I do it?