: Script refresh
On Sat, Aug 16, 2003, Tzahi Fadida wrote about RE: Script refresh:
Well, i tried all kind of things and now i suspect that this happens when i use
on several points. i.e:
sh-main script runs once : sh-subscript1 /var/log/logfile
sh-subscript1 runs in a while loop
On Fri, Aug 15, 2003, Tzahi Fadida wrote about Script refresh:
Hi all,
I am trying to understand why when i run an sh script that calls another script, for
example perl,
when i change one of the subscripts or some configuration file the changes don't
show on the running
sub script (that is
echo sdf |
perl-subscript2
/var/log/logfile
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Nadav Har'El
Sent: Saturday, August 16, 2003 10:00 AM
To: Tzahi Fadida
Cc: [EMAIL PROTECTED]
Subject: Re: Script refresh
On Fri, Aug 15, 2003, Tzahi Fadida
On Sat, Aug 16, 2003, Tzahi Fadida wrote about RE: Script refresh:
Well, i tried all kind of things and now i suspect that this happens when i use
on several points. i.e:
sh-main script runs once : sh-subscript1 /var/log/logfile
sh-subscript1 runs in a while loop: perl-subscript1 /var/log
On 2003-08-15 Tzahi Fadida wrote:
i use an when calling these scripts from the main script.
i don't know, maybe they are refreshed and there is some other
problem: could it be that if i open a file for reading and
don't close it and even if this subscript is finished, because
it was run in
]
* - * - * - * - * - * - * - * - * - *
WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Omer Zak
Sent: Friday, August 15, 2003 1:35 PM
To: linux-il mailing list
Subject: Re: Script refresh
Are you sure that the configuration file in question is closed and
re-opened each
15 minutes?
If not, maybe the new configuration file version exists under another
inode, and the
previous inode will continue to be accessed by your script and be
unlinked only when
you finish running your script.