From 540c41357e3795e91d66219ecd048964a78f3706 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Sat, 22 Feb 2025 08:35:03 +0100 Subject: [PATCH] cron with daemon --- dockerEntryPoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dockerEntryPoint.sh b/dockerEntryPoint.sh index fa9fb21..6e4e321 100644 --- a/dockerEntryPoint.sh +++ b/dockerEntryPoint.sh @@ -6,6 +6,9 @@ php ./artisan migrate --force # Cache php ./artisan optimize:clear && php ./artisan optimize +# Scheduler +crond -b -L /dev/stdout + # Queue worker supervisord --nodaemon --configuration /etc/supervisord.conf & supervisorctl start "laravel-worker:*"