Issue
Is it possible to make crontab run after one's execution. I read that cron jobs start from top, but run parallel, doesn't wait one to finish. Is there any way that I can do like this? For example, let's say I have 3 cron jobs.
*/5 * * * * job1
*/5 * * * * job2
*/5 * * * * job3
I want job2 to run after job1 has completed, and job3 after job2 completed.
Solution
You can have more than one command in a single crontab entry:
*/5 * * * * job1 ; job2 ; job3
Answered By - Jim Lewis Answer Checked By - Katrina (WPSolving Volunteer)