[NTLUG:Discuss] Script help

Fred James fredjame at fredjame.cnc.net
Wed Sep 15 10:41:00 CDT 2010


Fred wrote:
> On Tues 14 Sep 2010 "Patrick R. Michaud" <pmichaud at pobox.com> wrote:
>
>   
>> Out of curiosity, why not use cron to run it periodically 
>> instead of always running and sleeping?
>>
>> Pm
>>     
>
> It is my understanding that to use cron would require me to 
> rewrite the script. Besides, I'm not at all sure how using cron 
> in this instance would benefit me. I would think that the process 
> id numbers would get pretty big after a while after starting that
> program every minute. Not that big numbers are a problem
> with modern kernels, but ...
>
> Fred
>   
Rewriting would be mostly removing the loop and adding full_path_names 
to files and utilities and such.
I believe that PID's recycle ... or did I get that wrong?
Regards
Fred James




More information about the Discuss mailing list