<div dir="ltr"><div><div>From my experience, problems with cron is often related to the fact it doesn't run your interactive shell <<a href="http://unix.stackexchange.com/questions/27289/how-can-i-run-a-cron-command-with-existing-environmental-variables">http://unix.stackexchange.com/questions/27289/how-can-i-run-a-cron-command-with-existing-environmental-variables</a>><br></div><div><br></div>Probably a problem with PYTHONPATH not being set like you expect.<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-19 14:07 GMT+01:00 billinghurst <span dir="ltr"><<a href="mailto:billinghurstwiki@gmail.com" target="_blank">billinghurstwiki@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Since I converted my (pywikbot) bot to use oauth authentication, it is<br>
failing on its cronjob due to not authenticating.<br>
<br>
ERROR: OAuth authentication not supported: No module named requests_oauthlib<br>
<br>
<br>
The bot and the task runs fine when run manually, though not from<br>
cronjob.  Ran fine previously.<br>
<br>
Can someone please either point me to some pertinent help information,<br>
or guide me on the changes that I need to be making to have this<br>
working successfully.<br>
<br>
Thanks.<br>
Billinghurst<br>
<br>
_______________________________________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" rel="noreferrer" target="_blank">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Pierre-Selim<br><br><br></div>
</div>