aristosv
Posts: 159
Joined: Mon Dec 08, 2014 7:47 pm

how cron jobs run in raspbian?

Fri Dec 12, 2014 7:41 am

Crontab -l

Code: Select all

@reboot Script1.sh
@reboot Script2.sh
@reboot Script3.sh
Will this run sequentially, or all at the same time?

User avatar
DougieLawson
Posts: 39219
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: how cron jobs run in raspbian?

Fri Dec 12, 2014 10:45 am

Why not change it to

Code: Select all

@reboot script1.sh;script2.sh;script3.sh
then you know that it will run in your pre-defined sequence.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

aristosv
Posts: 159
Joined: Mon Dec 08, 2014 7:47 pm

Re: how cron jobs run in raspbian?

Fri Dec 12, 2014 11:16 am

Thats awsome! Thanks.

Return to “Raspberry Pi OS”