Hi all, On the same subject, i am using the "vicq" perl script in my script to send smss but it seems that it refuses to work from the script environment and it needs a working terminal to work. (at least when trying to send sms in the non-interactive mode.) is there a way to run a script from a virtual terminal or something and be done with it?
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Nadav Har'El > Sent: Saturday, August 16, 2003 10:40 AM > To: Tzahi Fadida > Cc: [EMAIL PROTECTED] > Subject: Re: 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: perl-subscript1 >> /var/log/logfile > > perl-subscript2 is called sometimes from perl-subscript1: system echo "sdf" | > > perl-subscript2 > > >>/var/log/logfile > > In your example, all scripts except sh-main should not have the ">>..." > lines, because all their output would be redirected to that file anyway > because they inherit the standard output from sh-main. > > -- > Nadav Har'El | Saturday, Aug 16 2003, 18 Av 5763 > [EMAIL PROTECTED] |----------------------------------------- > Phone: +972-53-245868, ICQ 13349191 |A Nobel Peace Prize? I would KILL for one > http://nadav.harel.org.il |of those. > > ================================================================= > 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]
