ccarney16 / pterodactyl-containers

Pterodactyl Panel within a docker container
230 stars 78 forks source link

Crond and queue:work dont run at panel container startup #136

Open dbunduc opened 2 years ago

dbunduc commented 2 years ago

i have to run those commands manually after a container restart to make schedules work. crond -b php /var/www/html/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3

ccarney16 commented 2 years ago

you need to create another container for them to run (or just continue using exec), you can use p:cron and p:worker as the startup command. I stopped running them in the main container due to how unstable those processes were in earlier releases of pterodactyl (pre-1.0.0).

Svenum commented 1 year ago

I have the same problem can oyu tell us how to do that or how to start this on conatiner startup?