Add memory_limit for schedule
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Philipp Lang 2023-08-21 14:15:29 +02:00
parent 8d54c5b47c
commit a134be5f5b
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ fi
if [ $1 == "schedule" ]; then
wait_for_db
while true; do
su www-data -c 'php artisan schedule:run -n'
su www-data -c 'php -d memory_limit=2G artisan schedule:run -n'
sleep 60
done
fi