Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dbunduc opened this issue May 26, 2022 · 2 comments
Open

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

dbunduc opened this issue May 26, 2022 · 2 comments

Comments

@dbunduc
Copy link

dbunduc commented May 26, 2022

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
Copy link
Owner

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
Copy link

Svenum commented Aug 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants