Is it possible to import tasks configurations from other files in scheduler.yaml #55
Unanswered
MarcelWilhelmi
asked this question in
Q&A
Replies: 2 comments
|
Hi @MarcelWilhelmi 👋🏻 For now, it's not possible but the suggestion can be an interesting feature, I'm not sure about the syntax: scheduler_bundle:
transport:
dsn: '...'
tasks:
my-first-task:
type: 'command'
command: '...'
import:
my_tasks_1.yaml
my_tasks_2.yamlThis seems weird as the Regarding the import key from the DIC, the behaviour is normal as it's a special key used in the DIC configuration 🙂 |
0 replies
|
Hi @Guikingone, |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey,
Is there a way to import files within the scheduler.yaml?
I'd like to extract some task configurations into separate files and import those within the scheduler.yaml, somehow like this:
Is this possible?
I tried using imports https://symfony.com/doc/current/service_container/import.html but couldn't get this working.
Kind regards,
Marcel
All reactions