We can use messaging for this: send a message that triggers the clean up process, deduplicated _deduplicated_ by the id given by the time (perhaps date) for which it was trigged - 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 :-)
|