Task is picked but not executed #624
Replies: 3 comments
-
Ok I do see this line in the logs:
After enabling debug. I was looking at the examples for Boot, and I found a bit odd that one needs to register the Is there an alternative to this? |
Beta Was this translation helpful? Give feedback.
-
So I got the task to be executed by creating a bean. I also have a recurring task that simply stopped executing.
For some reason it no longer executes, when I query the table I see that the entry version is constantly updated, but the task is never ran :( No clue on what is going on, any hints? |
Beta Was this translation helpful? Give feedback.
-
After wiping the database entry the task seems to be running again, but this seems strange, there were no warnings, and the data seems to be the exact same on the table, the columns |
Beta Was this translation helpful? Give feedback.
-
Hi folks, I just started looking into this project. I have used quartz a few times a long time ago, and I'm no stranger to Spring Boot.
However when I try to configure the scheduler to run an adhoc task (for production use we will actually have recurring tasks, this is just a way to run a task adhoc via a controller to test things).
I see on the table that the task is picked up, but it is never executed.
here's my enqueue service:
I see the task created on the db, I also see it changing from picked = false to true. But it is never executed.
I wonder if this is related to timezone, but it is hard to believe that since the task gets picked up, the date on DB is in UTC and my machine is in EST.
Any ideas why this task is not being executed? Any pointers on how to debug and figure it out?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions