![]() |
milend a �crit: > Thank you very much! you're welcome > As I understand, your AWK function "ackheader" > will execute the following shell scripts from bin directory: > logger \"docq/doc" jobid " status:" status " receiver:" receiver " [" > number "]\"" > ackheader docq/doc" jobid " \" - job: " jobid " - status: " status " - > To: " receiver " [" number "]\" -- " > insert doneq/q" jobid exactly > I guess you do not need the full file name here. But how do I get the > full file name? > Maybe I have to put together "docq/doc" and "jobid" ??? yes. > What is the file format? Is it PS? it is a postscript file Franck. > > Milen > >> >> # notify.awk >> ... >> # a function to create a header on the sent faxes >> # and to insert the header in a postgresql database >> # logger is there to verbose... >> >> function ackheader(jobid,status,receiver,aheader) >> { >> system("bin/logger \"docq/doc" jobid " status:" status " >> receiver:" receiver " [" number "]\"" ); >> system("bin/ackheader docq/doc" jobid " \" - job: " jobid " - >> status: " status " - To: " receiver " [" number "]\" -- " ); >> system("bin/insert doneq/q" jobid ); >> } ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*