UWIT-IAM / cert-service

UW certificate service website
2 stars 0 forks source link

Fix the cert warn job #77

Closed stea-uw closed 3 months ago

stea-uw commented 3 months ago

This job sends out the warnings when certificates are going to expire. It hasn't run in a while due to the database move. This PR updates the connection string to account for the new DB parameters.

Tested: Script runs successfully outside of the cron job on iam-tools21.

We ideally want to submit this soon, because it looks like this job doesn't queue things up when it fails to run. Instead, it only sends emails for certs that are exactly 30 days away from expiry.