Hi,

So:

#!/bin/sh
for i in seq 0 120
do
/bin/date
/usr/bin/sleep 1
done
Make sure you set the excutable bit

Sincerely


Jasper Kips



Op 22 mrt. 2012, om 14:29 heeft AlbyVA het volgende geschreven:

> 
> On Tue, Mar 20, 2012 at 18:23, Spacy <[email protected]> wrote:
> > Hi,
> >
> > set up a cron script to execute on June, 30th 23:59:00 UTC:
> >
> > for i in `seq 0 120`; do date; sleep 1; done
> >
> >
> > This will print the current date for 120 seconds. Standard out is usually
> > mailed to root or the script owner. Refer to your cron documentation for the
> > details.
> > More of a hack, than a solution, but should work ;-)
> 
> 
> Spacy:
> 
>  How would that look as a Unix /bin/sh script?
> 
> 
> _______________________________________________
> pool mailing list
> [email protected]
> http://lists.ntp.org/listinfo/pool

_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool

Reply via email to