I am not sure but I don't think the wsgihandler.py file is the right place 
to schedule cron tasks at WebFaction:

http://docs.webfaction.com/software/general.html#scheduling-tasks-with-cron

A while ago I had the same problem, following these instructions solved the 
problem.


[domain@web217 ~]$ EDITOR=/usr/bin/nano crontab -e

crontab: installing new crontab
[domain@web217 ~]$

12,32,52 * * * * ~/webapps/w2p/apache2/bin/start
11,31,51 * * * * ~/webapps/w2p/web2py/web2py.py -S admin -R 
applications/admin/cron/expire_sessions.py


Kind regards,

Annet

-- 



Reply via email to