I have a AWS EC2 instance with ubuntu 10.10 server.
I am trying to add a cron job to the list. But the cron job is not being executed.
I am actually uploading a particular file to aws s3 using s3cmd visit s3tools.org
What will be in the problem and also the solution.
Kindly help me out
Here is the bash script which has to be run
s3cmd put file-name s3://bucket_name/foder_name/file-name
Here is the job
* * * * * bash /path/to/file.sh
Answer
I was able to figure out the solution for this. The problem was I need to specify absolute path thats /usr/local/bin/s3cmd .
No comments:
Post a Comment