Allow `sendalerts` to be run by an external scheduler, on a one-shot basis, exiting after all alerts have been sent.