feat: integrate with scheduler bundle

This commit is contained in:
Björn Fromme
2026-03-16 11:59:11 +01:00
parent 7b84ecbb56
commit 142db19627
5 changed files with 165 additions and 2 deletions
+1
View File
@@ -16,4 +16,5 @@ return [
Knp\Bundle\MenuBundle\KnpMenuBundle::class => ['all' => true],
League\FlysystemBundle\FlysystemBundle::class => ['all' => true],
League\Bundle\OAuth2ServerBundle\LeagueOAuth2ServerBundle::class => ['all' => true],
Zenstruck\ScheduleBundle\ZenstruckScheduleBundle::class => ['all' => true],
];
+14
View File
@@ -0,0 +1,14 @@
zenstruck_schedule:
timezone: Europe/Berlin
mailer:
service: mailer
schedule_extensions:
email_on_failure:
to: [email protected]
tasks:
- task: app:cleanup:xml-dumps
frequency: '0 1 * * *'
description: "Removes outdated XML dumps of requests/responses to BPN API for debugging"