psu-libraries / scholarsphere-3

A web application for ingest, curation, search, and display of digital assets. Powered by Hydra technologies (Rails, Hydra-head, Blacklight, Solr, Fedora Commons, etc.)
Apache License 2.0
78 stars 24 forks source link

Send stats emails only on production jobs servers #1616

Closed awead closed 5 years ago

awead commented 5 years ago

Adds an additional environment key for "service name" such as qa, production, stage, etc. which we can use to set the cron job for emailing monthly stats emails. This way, only the jobs server for the designated "production" service will send the emails.

Fixes #1614

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 57.398% when pulling 18a267420ed3d8f34c132fb16f3eedb2fee4fad0 on cron-update into 40c2033fecb74dfc77ece47ea8f0d15877bd191a on hotfix-3.9.1.