>From my experience, problems with cron is often related to the fact it doesn't run your interactive shell < http://unix.stackexchange.com/questions/27289/how-can-i-run-a-cron-command-with-existing-environmental-variables >
Probably a problem with PYTHONPATH not being set like you expect. 2016-03-19 14:07 GMT+01:00 billinghurst <[email protected]>: > Since I converted my (pywikbot) bot to use oauth authentication, it is > failing on its cronjob due to not authenticating. > > ERROR: OAuth authentication not supported: No module named > requests_oauthlib > > > The bot and the task runs fine when run manually, though not from > cronjob. Ran fine previously. > > Can someone please either point me to some pertinent help information, > or guide me on the changes that I need to be making to have this > working successfully. > > Thanks. > Billinghurst > > _______________________________________________ > Labs-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/labs-l > -- Pierre-Selim
_______________________________________________ Labs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/labs-l
