Adapt check_judging script for Unix epoch timestamps, check pidfile.