Am 22.03.2012 14:29, schrieb AlbyVA:
>
>     On Tue, Mar 20, 2012 at 18:23, Spacy <[email protected]
>     <mailto:[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?
>

#!/bin/sh
for i in `seq 0 120`; do date; sleep 1; done

Just make sure that cron uses PATH

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

Reply via email to