Project

General

Profile

Post Record Scipt calling other scripts?

Added by Neil Renaud over 10 years ago

I created a post record script similar to this...

#!/bin/sh echo "Running for $1" >> "/home/hts/log.txt" /home/hts/script1.sh $1 /home/hts/script2.sh $1

However the two external scripts don't seem to run. Any ideas on what I'm doing wrong?

HTS 3.4.27

Neil


Replies (1)

RE: Post Record Scipt calling other scripts? - Added by Prof Yaffle over 10 years ago

How are you calling the script - "/path/to/script" or "/bin/sh /path/to/script"?

I'm presuming some formatting was lost in your code as well.

Also, check permissions/ownership... I don't know the UID that runs the script.

Maybe pipe the output from the post-processed command to your log as well, so you can see any errors?

    (1-1/1)