Is it possible to import tasks configurations from other files in scheduler.yaml #55
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 π |
Beta Was this translation helpful? Give feedback.
-
|
Hi @Guikingone, |
Beta Was this translation helpful? Give feedback.
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
Beta Was this translation helpful? Give feedback.
All reactions