Unable to run the cronjob in ubuntu 10.10 server, EC2 instance

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


Are you aware that the global crontab (/etc/crontab) has a user field:

# m h dom mon dow user  command

While the crontab of a user (reachable by running crontab -e as a user) does not?

# m h  dom mon dow   command

This drove me crazy once: cron was failing relatively silently...

That said, try and make a very simple cron entry, maybe directly inline, that touches a file in a writeable folder. This way you'll figure out if it's your script or cron that's being difficult.

Need Your Help

ggplot2 using scale_colour_manual access default colors?

r colors ggplot2

I am using scale_colour_manual to specify the possible colors I need. However, if I choose red I get the eye-burning red color rather than the milder ggplot2 default red that would appear if I didn...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.