feat: integrate with zenstruck schedule bundle

This commit is contained in:
Björn Fromme
2025-09-02 08:47:57 +02:00
parent 1c2421fb7e
commit e98695ea06
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 XML dumps of BPN requests/responses older than a week"