If everything is working except midnight add a

if midnight skip
this
that
and the other thing