refactor(scheduler): use the recipe's default stateful schedule

Consolidate onto the symfony/scheduler recipe's App\Schedule (stateful +
processOnlyLastMissedRun, so missed runs after downtime still execute)
instead of a separate provider. Add the every-1-minute
ExpireAppointmentsMessage there, point scheduler_default at
schedule://default, and drop the redundant ExpireAppointmentsSchedule.
debug:scheduler shows the trigger registered.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
hamed
2026-06-15 22:47:38 +03:30
co-authored by Claude Opus 4.8
parent 71ab8892c9
commit cc182e48f9
3 changed files with 6 additions and 25 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ framework:
failed: 'doctrine://default?queue_name=failed'
sync: 'sync://'
scheduler_default:
dsn: 'schedule://appointment_expiry'
dsn: 'schedule://default'
routing:
'App\Shared\Message\SendSmsMessage': async