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

Cron conf is lost when redeploying Docker container #25

Open
NicolasToussaint opened this issue Aug 24, 2020 · 1 comment
Open

Cron conf is lost when redeploying Docker container #25

NicolasToussaint opened this issue Aug 24, 2020 · 1 comment
Assignees

Comments

@NicolasToussaint
Copy link
Collaborator

When activating Fossdash, the cron file /var/spool/cron/crontabs/www-data is written on the web container, thus triggering the execution of the Fossdash script.

But when a Docker container is re-deployed, since that location is not part of a volume, the file is lost, and the Cron job left unconfigured.

Maybe we could automatically reconfigure the cron from the database values when the web service starts up?

@darshank15
Copy link
Owner

Didn't get your point exactly, Need to discuss in the meeting.

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

2 participants