- Remove 11 unused $user assignments from requireEventOwnership calls - Add cron container to docker-compose-dev.yml with scheduled tasks: expire-pending orders (5min), messenger monitor (hourly), meilisearch consistency (daily 3am) - Cron logs show registered tasks at startup and timestamps per execution Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 lines
265 B
Bash
9 lines
265 B
Bash
#!/bin/sh
|
|
echo "=== E-Ticket Cron ==="
|
|
echo "Registered tasks:"
|
|
echo " - */5 * * * * app:orders:expire-pending"
|
|
echo " - 0 * * * * app:monitor:messenger"
|
|
echo " - 0 3 * * * app:meilisearch:check-consistency --fix"
|
|
echo "===================="
|
|
exec cron -f
|