Skip to content

Commit

Permalink
Merge pull request #6 from robsontenorio/robsontenorio-patch-1
Browse files Browse the repository at this point in the history
Update scheduler.conf
  • Loading branch information
robsontenorio authored Apr 14, 2024
2 parents 7028fe9 + 917baeb commit e9b94bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/etc/supervisor/conf.d-temp/scheduler.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Command scheduler
[program:laravel-scheduler]
command=sh -c "while [ true ]; do (cd /var/www/app && php artisan schedule:run >> /dev/null 2>&1); sleep 1; done"
command=sh -c "while [ true ]; do (cd /var/www/app && php artisan schedule:run >> /dev/null 2>&1); sleep 60; done"
redirect_stderr=true
autostart=true
autorestart=true
startretries=0
startretries=0

0 comments on commit e9b94bf

Please sign in to comment.