I would like to run cron job A every 3 minutes, and cron job B every 5 minutes. But I would like job A to always run 3 minutes before job B.
How would I accomplish this?
I would like to run cron job A every 3 minutes, and cron job B every 5 minutes. But I would like job A to always run 3 minutes before job B.
How would I accomplish this?
jobA ; jobBwith a semicolon ? – Archemar Feb 21 '18 at 16:45flockand you prevent running the batches concurrently. Record the last successful run of A and don't start B until the minimum interval has passed. – HBruijn Mar 15 '18 at 14:31