[Cialug] Cron

Josh More jmore at starmind.org
Tue Mar 22 19:53:24 CDT 2016


They're basically simultaneous:

50 19 * * * sleep 120; echo "Test" > /tmp/1
50 19 * * * echo "Test" > /tmp/2


$ ls -alrt /tmp/?
-rw-r--r-- 1 root root 5 Mar 22 19:50 /tmp/2
-rw-r--r-- 1 root root 5 Mar 22 19:52 /tmp/1


-Josh


On Tue, Mar 22, 2016 at 7:38 PM, kristau <kristau at gmail.com> wrote:

> I've always assumed they launched practically simultaneously. Your
> question, however, challenges that assumption.
>
> On Tue, Mar 22, 2016 at 7:30 PM, Patrick Mcgillan
> <patrick.mcgillan at gmail.com> wrote:
> > I have 2 entries in my crontab file like this;
> >
> > * * * * * do something every minute
> > 59 23 * * * do something at 1159PM
> >
> > Qustion is, does cron run both at same time or does it do one and then
> the
> > next one.
> >
> > --
> > Patrick
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
>
>
>
> --
> Tired programmer
> Coding late into the night
> The core dump follows
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list