[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cron question
- To: Ishai Parasol <ishai-iglu(at-nospam)parasol.org.il>
- Subject: Re: cron question
- From: Max Kovgan <smcmaugh(at-nospam)techst02.technion.ac.il>
- Date: Sun, 16 Dec 2001 13:06:20 +0200 (IST)
- Cc: Linux - IL Mailing List <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <000701c18620$773015c0$0201a8c0@parasol>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
another thing ...
you have cron.hourly
when you run it, check with a counter if this is a 3rd hour -
if so - run it, and set the counter to 1 , if not, increment the counter
and exit.
-=O0~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~O0=-
"He took his vorpal sword in hand:
Long time the manxome foe he sought -
So rested he by the Tumtum tree.
And stood awhile in thought."
[L.Carrol "Jabberwacky"]
On Sun, 16 Dec 2001, Ishai Parasol wrote:
> Hi
>
> What can I do if I want to run a script on a regular basis using cron, but I
> need it between the system's crons (lets say every 3 hours) ?
>
> Thanks,
> Ishai.
>
> P.S. - Runinng redhat 6.2
>
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il