Skip to content

AWS S3 Sync command getting automatically terminated when ran from Cron. #2260

@saran3668

Description

@saran3668

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??

Metadata

Metadata

Assignees

No one assigned

    Labels

    closing-soonThis issue will automatically close in 4 days unless further comments are made.guidanceQuestion that needs advice or information.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions