Migration from CommandSchedulerBundle #206
-
Hello, First thanks for this awesome Bundle, damn 😃, it has so many options, so I'm going for the easy stuff first. Currently, I'm using I understand that adding https://github.com/Guikingone/SchedulerBundle/blob/main/doc/transport.md#doctrine with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @chiqui3d 👋🏻 Yes, the |
Beta Was this translation helpful? Give feedback.
-
I'm getting a bit confused, as I see that it is possible for me to overwrite the tasks I create from my panel and add them directly to the schedule table. It is not possible to get the tasks from a class directly without having to configure it in the tasks config of the yaml file, something like this:
|
Beta Was this translation helpful? Give feedback.
Hi @chiqui3d 👋🏻
Yes, the
auto_setup
option can be set if you don't use the migration that the bundle can generate for you, if the table hasn't been created, the Doctrine connection will do it BEFORE triggering an operation, be aware that even if the performances impact still minimal, it can slow down the first query 🙂