add new conf example file to run laravel scheduler in php-worker (#1930)

This commit is contained in:
Lan Phan authored and Shao Yu-Lung (Allen) committed 2019-01-08 15:30:53 +08:00
1 parent e6d866b8a6
commit a1bda23cd9
2 files changed
+38 -23

No files matched your search

@@ -0,0 +1,8 @@
[program:laravel-scheduler]
process_name=%(program_name)s_%(process_num)02d
command=/bin/sh -c "while [ true ]; do (php /var/www/artisan schedule:run --verbose --no-interaction &); sleep 60; done"
autostart=true
autorestart=true
numprocs=1
user=laradock
redirect_stderr=true