Hello
I have web2py installed with setup-web2py-ubuntu.sh
It runs with Apache mod_wsgi.

Crontab of myapp is:
*/1  *  *  *  *  root  *cron/test

And function:
def test():
    shop = db(db.shops.id==8).select().first()
    new = shop.daystodelete + 1
    shop.update_record(daystodelete=new)
    db.commit()
    return 'done'
test()

manually function works fine. But not with cron. Seems it's not
working.
Any ideas? Thx

Reply via email to