[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: need help on shell programming



On Thu, Feb 26, 2009 at 4:29 PM, Michael Pobega <pobega@gmail.com> wrote:
> On Thu, Feb 26, 2009 at 04:54:28PM -0500, Long Wind wrote:
>> I want a script.
>> The script run a command, wait one minute,
>> then run the command again, wait one minute again
>> ... again and again ...
>>
>> Thanks!
>>
>>
>
> Sounds like a job for Cron!

It depends on how long the job takes, and what the requirements are.

They did seem to imply they want to wait 60 seconds between the end of
one run to the start of the next one, as opposed to running every 60
seconds regardless.

If the job takes 45 seconds, it could be a pretty substantial semantic
difference.

mrc


Reply to: