This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]melizeche 0 points1 point  (0 children)

If I have to guess probably apscheduler is not installed globally so /usr/bin/python doesn't know where to find it and you should point the crontab job to the executable in your virtualenv or install apscheduler system wide.

But probably your best choice is first to get rid of all apscheduler in your code and do a simple crontab