Skip to main content
added 173 characters in body
Source Link

The exact sequence in which jobs are executed will depend on the implementation of your systems' crond. What is your OS? If you have cronjob in a crontab:

Job 1 Job 2 Job 3 

In Debian Job1 will start, without waiting to finish Job 2, etc.
In Debian and Ubuntu derivatives it is top-bottom
In FreeBSD it is bottom-top

If your cronjobs are in /etc/cron.hourly(or daily/monthly/weekly) - then the script that runs them does it sequently, not in paralel. (a script loops though them and waits for each to finish)

EDIT Add two different cronjobs (here I assume you have syslog configured)
* * * * * ls /etc/
* * * * * echo "whatever
tail -f /var/log/cron

The exact sequence in which jobs are executed will depend on the implementation of your systems' crond. What is your OS? If you have cronjob in a crontab:

Job 1 Job 2 Job 3 

In Debian Job1 will start, without waiting to finish Job 2, etc.
In Debian and Ubuntu derivatives it is top-bottom
In FreeBSD it is bottom-top

If your cronjobs are in /etc/cron.hourly(or daily/monthly/weekly) - then the script that runs them does it sequently, not in paralel. (a script loops though them and waits for each to finish)

The exact sequence in which jobs are executed will depend on the implementation of your systems' crond. What is your OS? If you have cronjob in a crontab:

Job 1 Job 2 Job 3 

In Debian Job1 will start, without waiting to finish Job 2, etc.
In Debian and Ubuntu derivatives it is top-bottom
In FreeBSD it is bottom-top

If your cronjobs are in /etc/cron.hourly(or daily/monthly/weekly) - then the script that runs them does it sequently, not in paralel. (a script loops though them and waits for each to finish)

EDIT Add two different cronjobs (here I assume you have syslog configured)
* * * * * ls /etc/
* * * * * echo "whatever
tail -f /var/log/cron

Source Link

The exact sequence in which jobs are executed will depend on the implementation of your systems' crond. What is your OS? If you have cronjob in a crontab:

Job 1 Job 2 Job 3 

In Debian Job1 will start, without waiting to finish Job 2, etc.
In Debian and Ubuntu derivatives it is top-bottom
In FreeBSD it is bottom-top

If your cronjobs are in /etc/cron.hourly(or daily/monthly/weekly) - then the script that runs them does it sequently, not in paralel. (a script loops though them and waits for each to finish)