I have a series of regular maintenance batch jobs that aren't dependent on each other and are triggered by a user.
- Clean up accounts
- Clean up contacts
- Clean up leads
The list of items that need to be cleaned up is maintained in a separate custom object. All of this makes sense to enqueue independent batch jobs.
At the end of the execution of the various cleanup jobs the custom object itself needs to be updated that the entire run was successful. I'm unclear on how I can monitor completion of multiple jobs. Some sort of meta job that polls for completion of the cleanup jobs and executes when they're marked as successful.