I want to copy files from a local machine to a remote machine.
I have the command all set up and it looks like this:
rsync -a project email@example.com:~
However, when running this command, I'm prompted with a message to enter the remote server's password.
When setting this up as a cronjob it fails because the password is not entered.
What is way around this? How can I create my cron job to run the command and enter in the password?