function is very simple. Just updates 1 row per every minute:

def test():
    shop = db(db.shops.id==1).select().first()
    shop.update_record(deletedate=request.now)
    db.commit()
    return 'done'

On 18 фев, 00:56, pbreit <pbreitenb...@gmail.com> wrote:
> I would suggest doing something simple to at least confirm that it is
> working OK. For example, updating a timestamp in your database every n
> minutes.

Reply via email to