We can use messaging for this: send a message that triggers the clean up process, _deduplicated_ by the id given by the time timestamp (perhaps date 'datestamp' ) for day in which it was trigged scheduled - there may be multiple nodes trying to trigger process, but just one clean up process will be triggered at the end.
I would propose not to run the scheduled job at mignight then :-)
|