Does cron execute jobs asynchronously

cron

If I add 5 jobs in my crontab, do they execute asynchronously in parallel ? Two of my jobs may take 10 minutes to complete and I want to know if I need to run them in the background (by adding the & at the end of the command).

Best Answer

crontab entries are processed independently, so yes, the jobs are run asynchronously, in parallel. You don't need to background them.

If you ever need to synchronise jobs, check out the techniques mentioned in Can a crontab job run concurrently with itself?.

Related Question