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

Use a while loop instead of a whole other container for node-cleanup #322

Open
lucas-howard-macmillan opened this issue Oct 4, 2024 · 0 comments

Comments

@lucas-howard-macmillan
Copy link

lucas-howard-macmillan commented Oct 4, 2024

This is in reference to #182

In the container that does the work, why not just do this as an entry script?

while true
do
run cleanup commands
sleep 10
done

Seems like this would get the work done, avoid container restarts, and eliminate the need for more than one container.

@lucas-howard-macmillan lucas-howard-macmillan changed the title Use a while loop instead of a whole another container for node-cleanup Use a while loop instead of a whole other container for node-cleanup Oct 4, 2024
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

1 participant