I've got a cronjob that won't work. Well, I can't seem to get any of my cronjobs to work.
here is my entry in /etc/crontab
* * * * * /usr/bin/Rscript /home/myRScript.R
Executing this script via command line (/usr/bin/Rscript /home/myRScript.R) runs fine. The script is executable (chmod 775).
I've even tried something simple like:
* * * * * env > /tmp/env.output
I have the script running fine on my home desktop. But am attempting to migrate the same code to an Amazon EC2 instance and it won't run. I'm at a loss for what to do next.
I've pretty much read through: https://askubuntu.com/questions/23009/reasons-why-crontab-does-not-work
And nothing seems to work.