feat: integrate with zenstruck schedule bundle
This commit is contained in:
@@ -21,4 +21,5 @@ return [
|
||||
Symfony\UX\TwigComponent\TwigComponentBundle::class => ['all' => true],
|
||||
Flagception\Bundle\FlagceptionBundle\FlagceptionBundle::class => ['all' => true],
|
||||
League\FlysystemBundle\FlysystemBundle::class => ['all' => true],
|
||||
Zenstruck\ScheduleBundle\ZenstruckScheduleBundle::class => ['all' => true],
|
||||
];
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
zenstruck_schedule:
|
||||
timezone: Europe/Berlin
|
||||
|
||||
mailer:
|
||||
service: mailer
|
||||
|
||||
schedule_extensions:
|
||||
email_on_failure:
|
||||
to: [email protected]
|
||||
|
||||
tasks:
|
||||
- task: app:bpn-import
|
||||
frequency: '30 1 * * *'
|
||||
description: "Imports dates, products and hotels from BusProNet"
|
||||
|
||||
- task: app:cron
|
||||
frequency: '35 1 * * *'
|
||||
description: "Executes several tasks triggered on a daily basis"
|
||||
|
||||
- task: app:teamer-status
|
||||
frequency: '40 1 * * *'
|
||||
description: "Updates status of teamers depending on their disposition"
|
||||
|
||||
- task: oneup:uploader:clear-orphans
|
||||
frequency: '30 * * * *'
|
||||
description: "Removes orphaned uploads"
|
||||
|
||||
- task: messenger:consume async -t 60
|
||||
frequency: '*/5 * * * *'
|
||||
description: "Starts messenger queue"
|
||||
|
||||
- task: 'bash:%kernel.project_dir%/../bin/bpn-download-xml.sh'
|
||||
frequency: '0 */4 * * *'
|
||||
description: "Downloads XML data"
|
||||
Reference in New Issue
Block a user