Re: [ldm-users] understanding the PIPE action

"90% of UNIX problems are permission-related" - unknown.

I've convinced that a good chunk of the other 10% are path issues.  

You're relying on LDM to understand "decoders/test.sh" and do the right thing.  
I don't have enough experience with LDM to intuitively "know" that LDM will do 
the right thing, so the first thing I'd try is putting the absolute path to 
your script in pqact.conf ...

--
Peter Laws / N5UWY
National Weather Center / Network Operations Center / Remote
University of Oklahoma Information Technology
plaws@xxxxxx

________________________________________
From: ldm-users-bounces@xxxxxxxxxxxxxxxx [ldm-users-bounces@xxxxxxxxxxxxxxxx] 
On Behalf Of Jeffrey Lake - Admin [admin@xxxxxxxxxxxxxxxxxxxx]
Sent: Sunday, June 07, 2009 02:30
To: LDM Users
Subject: [ldm-users] understanding the PIPE action

I am attempting to get a hold of the PIPE action in LDM.
here is what I have as a test in my pqact.conf
------------------------------------------
#TEST
DDPLUS[tab] ^.*/pSVR
[tab]PIPE[tab]decoders/test.sh
-----------------------------------------
and the test.sh script
----------------------------------------------
#!/bin/sh
php /usr/local/ldm/decoders/test.php "$1"
----------------------------------------------

just testing this, the php script is a simple mailer to me,
but what I eventually want to do is have LDM PIPE the file's
directly to my scripts, instead if my script getting the trigger from LDM
and then having to get the new file themselves ..

oh and the mailer does mail out to me when a new Severe Thunderstorm Warning
is issued, but the mail is blank, so either I'm not understanding,
or it won't do what I was hoping.

If I do a (SVR) and \1 after test.sh the mail does come thru as SVR in the
body, so my set up of the agrv settings are working, but the full text
isnot making it ..

Jeff Lake

_______________________________________________
ldm-users mailing list
ldm-users@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: