I have written my first python script using Spyder as the IDE within Anaconda. Yay! The script pulls data from google finance and emails it to me. When run inside Spyder it works fine.
Now I want to schedule that script to run at a specific time during the day. So, after researching, I have tried to set up the job to run in Cron with the following syntax:
15 12 * * * users/paul/desktop/pythonscript.py
I thought this would run the script at 12:15 but nothing happens.
I tried experimenting by opening the script in IDLE and running it or running it from a terminal but I can't get any of those to work because it tells me that none of the modules are imported.
So...can anybody tell me how to schedule a python script that was written in Spyder to run at a specific time?
Thanks!