Comments (17)
Hi, here is my scheduler.yaml file.
scheduler_bundle:
transport:
dsn: 'doctrine://default?execution_mode=first_in_first_out&table_name=scheduler_tasks'
from schedulerbundle.
maybe this is normal because it should not contain the dev-issue/159 fix, right?
dev-issue/159
is not implemented for now, that could be the reason, you're right π
from schedulerbundle.
Hi @jvancoillie ππ»
I've moved the sleep
call issue to a new issue π
Link: #165
from schedulerbundle.
Hi @jvancoillie ππ»
Hum strange, do you have any scheduled tasks when launching the command?
from schedulerbundle.
Hi @jvancoillie ππ»
I've pushed a first version of a fix via dev-issue/159
, could you test it when you have a moment? Thanks π
from schedulerbundle.
Hi @Guikingone,
I think i have the same issue so i prefer ask directly here.
When i launch "scheduler:consume -w" i have this :
$ bin/console scheduler:consume -w
[WARNING] Each tasks has already been executed for the current minute
Consider calling this command again at "2021-06-30 04:12"
After, it just give me back control.
Thanks.
from schedulerbundle.
Hi @Bastien2805 ππ»
Yes, it could be related as I'm facing the issue locally, I'm currently in holidays so the PR has stale a little bit π
I'm gonna fix it fast, could you test it against dev-issue/159
?
from schedulerbundle.
Hello @Guikingone π₯
I just tested the dev/159
and it seems to work.
thanks
from schedulerbundle.
HiΒ @Guikingone,
I also tested it but it still doesn't work for me. I have the same message and it give me back control.
Do you need more specific information to resolve it ?
Thanks.
from schedulerbundle.
Hi @Bastien2805,
Could you share the scheduler.yaml
file?
This way, we can see the transport used along with the tasks π
from schedulerbundle.
Hi @Bastien2805 and @jvancoillie,
I've pushed a small fix (mainly in the worker), could you test it via dev-issue/159
?
Thanks and very sorry for this bug π
from schedulerbundle.
Hi @Guikingone,
Thanks for the fix but it still doesn't work for me with the same error message and configuration in scheduler.yaml file.
from schedulerbundle.
Hi @jvancoillie,
Could you validate that if fix your issue when you have a moment?
Thanks π
from schedulerbundle.
Hello @Guikingone,
I just tested on dev-issue / 159
with the following configuration :
scheduler_bundle:
transport:
dsn: 'doctrine://default?execution_mode=first_in_first_out'
tasks:
foo:
type: 'command'
command: 'app:foo'
description: 'simple task'
single_run: true
the wait
option seems to do its job and maybe a little too much because I no longer have the possibility to quit the worker CTRL + C
:(
I also have behavior that IMHO shouldn't be.
When I run the command scheduler:consume --wait
a second time it displays the following warning π€
shouldn't it be able to resume sleeping mode WDYT ?
from schedulerbundle.
the wait option seems to do its job and maybe a little too much because I no longer have the possibility to quit the worker CTRL + C
Hum, strange, I'm gonna explore this issue.
When I run the command scheduler:consume --wait a second time it displays the following warning
Yes, this behaviour has been introduced in 0.4.5
and discussed with @Bastien2805, #161 should fix the issue, could you test it?
from schedulerbundle.
Yes, this behaviour has been introduced in
0.4.5
and discussed with @Bastien2805, #161 should fix the issue, could you test it?
π dev-feat/wait_force
no longer display warning with --force
option but it gives me back control, maybe this is normal because it should not contain the dev-issue/159
fix, right?
from schedulerbundle.
Hi @jvancoillie ππ»
Could you confirm that dev-issue/159
fix the "control" issue, I'm talking about the command ending process and not the sleep
call, if so, could you open a new issue for the sleep
call?
Thanks π
from schedulerbundle.
Related Issues (20)
- ci(tools): introducing Dagger
- bug(bridge): Rebooting the scheduler clears everything in the transport HOT 4
- Segmentation fault with the 0.9.0 tag HOT 8
- feat(command): add autocompletion
- bug: Update to SF6.1-RC leads to serialization type error on NotificationTaskBagNormalizer HOT 9
- build(sf): prepare for 7.0 HOT 1
- bug(bridge): postgres not working HOT 3
- bug(serializer): TraceableNormalizer usage HOT 3
- feat(bridge): Dragonfly bridge
- Fix deprecation warnings for Symfony 6.1 commands HOT 5
- bug(scheduler): tasks are always recreated HOT 1
- bug(worker): TaskInterface::setLastExecution() must be called even when an error occurs
- feat(command): Gracefully stopping the worker HOT 2
- bug(scheduler): regression on scheduler:reboot (0.9.4) HOT 5
- bug(transport): using Debug pack resulting "datetime normalizer" error HOT 9
- bug(command): scheduler:stop-worker not stopping when wait and force arguments present HOT 5
- Use of mutation testing in SchedulerBundle - Help needed
- Deprecations coming with Symfony 6.3
- How do you 'refresh' your scheduled tasks when you make a change to the scheduler.yaml? HOT 1
- Add support for Symfony 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schedulerbundle.