Hi Everyone,
I am trying to sync EC2 server directory with s3 bucket, I am using following command to do that "nice -n 15 /usr/local/bin/aws s3 sync /mnt/s3/ s3://$BUCKET/ 2>&1 >> synch.log" my problem is, if i manually execute the above command sync is happening. The same command if add it in a script and set up a cronjob, its automatically getting terminated. Could you guys help me out to run the command recursively and fixing this weird problem??
Hi Everyone,
I am trying to sync EC2 server directory with s3 bucket, I am using following command to do that "nice -n 15 /usr/local/bin/aws s3 sync /mnt/s3/ s3://$BUCKET/ 2>&1 >> synch.log" my problem is, if i manually execute the above command sync is happening. The same command if add it in a script and set up a cronjob, its automatically getting terminated. Could you guys help me out to run the command recursively and fixing this weird problem??