We have a scheduled job running every 5 minutes in an org. We want to add a cleanup/health-check tasks that runs every 24 hours. Typically we would want to run it at 12:00 am on the customer's org.
Should we be creating another job for this?
Or can we hookup the cleanup code in the current job itself to run based on a given time. This is the preferred approach for us since there would be only one job running. But we aren't sure if this is the best way to go since we would have to call tasks based on org time. Any inputs on how to achieve this?