Cron is running but not outputting data
- by Youri
I'm trying to make my Amazon EC2 instances stop and start by a crontab. EC2 Api tools is succesfully installed. Manually it works.
The cron (which I put in with the command crontab -e):
10 * * * * ubuntu /usr/bin/ec2-stop-instances [instanceid] /tmp/ec2.log
The file /tmp/ec2.log is created. When I use the command grep CRON /var/log/syslog I see…