I want a set of files copied daily from a remote server to local machine at 5 am in the morning. The following crontab entry does not work:
0 5 * * * scp firstname.lastname@example.org:/tmp/bkp*tar.gz /home/user1/dir1
This is on Ubuntu 18.04 (if it matters which I don't think it should). The command works when executed manually by the same user in whose crontab this entry is made.