Anpassung des Schedulers zum zyklischen Senden von Mails

This commit is contained in:
Marco Glietsch 2026-02-08 20:24:40 +01:00
parent c29160a240
commit 2aef20f095

9
scheduler Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
cd /home/www/p462500/html || exit 1
# 1) Laravel Scheduler
php artisan schedule:run >> storage/logs/scheduler.log 2>&1
# 2) Queue abarbeiten (stoppt automatisch, wenn leer)
php artisan queue:work database --queue=default --stop-when-empty --sleep=1 --tries=3 --timeout=90 \
>> storage/logs/queue.log 2>&1