I have created a cronjob with a command I know to work in the terminal, however, it does not work when executed in cron.
I have placed this job in the prompt provided by crontab -e.
*/1 * * * * /usr/bin/python -c 'import script; script.checkEmail()'
However, it does not complete. I have other jobs in this file which execute fine.
Any help would be greatly appreciated.
(P.S, please note that this command will not work in the terminal if I prefix script (the file) with it's address (/var/www/RA))