Grimlock wrote:
> Doing a sys.path.append(whatever) is uneffective when you have to schedule a 
> python work (I tested it yersteday).
> The issue that Junaid indicated and the answer given is, in my mind, the only 
> one for the moment.
> 
> Grimlock

The generic way to change the current working dir for a cron would be:

1 2 3 4 cd $HOME/scripts/pywikipedia && python $HOME/vandalize.py


_______________________________________________
Toolserver-l mailing list ([email protected])
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette

Reply via email to