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 the context of the parent script then the inode is still linked?
* - * - * Tzahi Fadida MSc Student Information System Engineering Area Faculty of Industrial Engineering & Management Technion - Israel Institute of Technology Technion City, Haifa, Israel 32000 Email [EMAIL PROTECTED] Technion Email: [EMAIL PROTECTED] * - * - * - * - * - * - * - * - * - * 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. > > Tzahi Fadida wrote: > > >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 recalled every 15 minutes so it should refresh). > >is there a refresh command in sh? > > > > --- Omer > My opinions, as expressed in this E-mail message, are mine alone. > They do not represent the official policy of any organization with which > I may be affiliated in any way. > WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html > > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
