Scheduler runs

35 views
Skip to first unread message

Sagar Shah

unread,
Jul 26, 2016, 2:28:32 PM7/26/16
to web2py-users
I have to tasks running by a scheduler. I see custom logs from one and not from the other.
All I see from the other one is:

2016-07-25 15:44:07,707 - web2py.app.Sentinel - DEBUG -     new task report: COMPLETED
2016-07-25 15:44:07,707 - web2py.app.Sentinel - DEBUG -    result: null

Also, I do not see any completed tasks in scheduler_run table.

Any ideas?

Niphlod

unread,
Jul 28, 2016, 10:21:23 AM7/28/16
to web2py-users
are you aware that a task that doesn't return a thing and doesn't fail won't store any scheduler_run table ? 
The rationale is that if you didn't return anything, you don't need the corresponding line in scheduler_run to retrieve the result.

Sagar Shah

unread,
Jul 28, 2016, 10:46:03 AM7/28/16
to web...@googlegroups.com

Ah! Alright. Thanks!


--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/teworGmKtt0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages