chore: Add cron service and crontab for Laravel cron jobs
This commit is contained in:
@@ -47,5 +47,8 @@ if [ -f /environment/.env ]; then
|
||||
cp /environment/.env /workspace/.env
|
||||
fi
|
||||
|
||||
# Start the cron service
|
||||
service cron start
|
||||
|
||||
# Start the application with pm2
|
||||
exec pm2-runtime "php artisan serve --host=0.0.0.0 --port=8000"
|
||||
|
||||
Reference in New Issue
Block a user