sot / jobwatch

Watch files, database tables, and log files to ensure valid cron processing
3 stars 0 forks source link

Check that the last kadi dwell < 3 days old #48

Closed jeanconn closed 3 years ago

jeanconn commented 3 years ago

Check that the last kadi dwell < 3 days old

For testing, I ran this as jobwatch.skawatch.main() and reviewed the output HTML. It seems reasonable:

Screen Shot 2021-06-25 at 10 59 11 AM

Independent inspection of kadi dwells shows the last stop time about 0.62 days from "now". I didn't confirm the time in local but seems reasonable.

When I ran this code two weeks ago when kadi was stuck, I saw the "red" that I expected in the report (code has changed a bit since then, but same idea).

taldcroft commented 3 years ago

Actually I don't see any description of testing, so not quite approved.

jeanconn commented 3 years ago

Oops. Updated text with testing.