airbatum Posted November 1, 2016 Posted November 1, 2016 Hello, I signed up to stevie server and I would like to run a python script once or twice per day.I uploaded the program via FTP, then I schedule the instruction "python /home/airbatum/myfolder/myscript.py > /home/airbatum/myfolder/myscript.log" but I have no response from it. No log is written, nor an e-mail is sent to me.Did I make something wrong with the shell instruction? EDIT: Sorry, it took a phew minutes in order for the cronjob to run, I just got the response e-mail. It says that gspread module is missing, is there a way to pip install it?
wolstech Posted November 1, 2016 Posted November 1, 2016 First, be careful with the cron. Cron is limited to two runs per day per account. Make sure the job is set to no more than once every 12 hours (or if you have 2 separate jobs, each once a day, and so on). Second, we have another who also asked about Python Modules. I don't know if these can be installed or not. Escalating.
Krydos Posted June 28, 2017 Posted June 28, 2017 Closing since Stevie has been decommissioned. If you find this thread by searching python modules can be installed by an admin. Just let us know what server you're on, what version of python you're using and which module you need. Closing.
Recommended Posts