I am trying to add a python script to crontab with following lines:
0 * * * * /pathtoexecutable/file.py
0 0 1 * 1 /pathtoexecutable/file2.py
Files are executable python scripts.
file.py further initiates around 15 subprocesses, which store info in a MySQL database.
file2.py gets, obviously, executed though through crontab as well.
For some reason file.py isn't working via crontab, but if I run it through command line it works.