I'm trying to add a second scheduler item of work. At the moment, I seem
to get the scheduler to run the new function some of the time, and to be
stuck in the cue other times.
Here are some entries that are stuck:
591|uploader/default|predigest|main|QUEUED|predigest|bc0e5eaf-c8b7-4754-ae49
-7441a3704199|[]|{"pred_id": "1073"}|T|2018-11-09 22:38:56|2018-11-10 22:39:
07||0|0|86400|F|60|0|1|0|2018-11-09 22:39:07|ip-172-31-16-18#11138|
592|uploader/default|predigest|main|QUEUED|predigest|4c4db3a9-268d-4953-86f3
-7ef6bda79c58|[]|{"pred_id": "1073"}|T|2018-11-09 22:57:50|2018-11-10 22:57:
56||0|0|86400|F|60|0|1|0|2018-11-09 22:57:56|ip-172-31-16-18#11138|
593|uploader/default|predigest|main|QUEUED|predigest|9abb3d2c-4e45-4f97-89c4
-93e57e7870b6|[]|{"pred_id": "1073"}|T|2018-11-10 01:28:44|2018-11-11 01:28:
59||0|0|86400|F|60|0|1|0|2018-11-10 01:28:59|ip-172-31-16-18#11138|
They were cued with
cue = scheduler.queue_task( "predigest", start_time = ttime, period =
86400, repeats=0,
pvars=dict(pred_id = pred_id))
Here's one that ran (and failed; I'd like to see if I fixed it, but I'm
.... stuck in the queue).
590|uploader/default|predigest|main|FAILED|predigest|bcac08fe-dc2e-4202-af08
-48f457067939|[]|{"pred_id": "1073"}|T|2018-11-09 20:58:43|2018-11-10 20:58:
49||0|0|86400|F|60|0|0|1|2018-11-09 20:58:49|ip-172-31-16-18#11138|
Meanwhile, the original function is being picked up at the time it's queued
for., and task_worker.last_heartbeat is ticking.
Does anyone see why these are stuck?
/dps
--
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 the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.