My cron tab looking like this

#crontab
*/2 * * * *     root  *sys/test_cron
@hourly          root  *applications/mm/cron/expire_sessions.py

but this doesn' work. My test cron function is

from time import ctime
def test_cron():
    db.dbg.insert(dbgmsg=ctime())
    db.commit()
    return "ready"


If I trigger this function manually it's working. Web2Py is installed
as a Windows Service. Is someone able to help?





Reply via email to