RE: Script refresh

2003-08-17 Thread Shlomi Fish
: 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

Re: Script refresh

2003-08-16 Thread Nadav Har'El
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

RE: Script refresh

2003-08-16 Thread Tzahi Fadida
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

Re: Script refresh

2003-08-16 Thread Nadav Har'El
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

Re: Script refresh

2003-08-15 Thread Christoph Bugel
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

RE: Script refresh

2003-08-15 Thread Tzahi Fadida
] * - * - * - * - * - * - * - * - * - * 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

Re: Script refresh

2003-08-15 Thread Omer Zak
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.