darshank15 / GSoC_2020_FOSSOlogy

FOSSology generates a large set of data that is exported to the time-series influx database and visualized with the help of Grafana. I Wrote a fossdash_publisher script that collects useful data from FOSSology DB (Postgres) and exposes them to influx DB. Developed a visualization dashboard in Grafana by integrating influx as an input data source.
GNU General Public License v2.0
2 stars 0 forks source link

Cron conf is lost when redeploying Docker container #25

Open NicolasToussaint opened 4 years ago

NicolasToussaint commented 4 years ago

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 commented 4 years ago

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