cron job using the users cron tab. #0 * * * * /usr/bin/env bash -lc '/opt/AZURE/run_azcopy.sh /opt/AZURE/dir2sync_list true 20' the baove runs every hour using a bash login shell this is needed so all VARIABLE expansions work correctly. We run everything as the user no root. there are checks and error hadling was created for some cases but motsliukly not all. So logs should be checked on a regular basis. tested on a smal set of files.