HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Information on Job Control

* John Warren <jwarren@xxxxxxxxxxxxx> [071011 15:55]:
> I've not found much information about writing job control files.  
> There are a few examples but not much in the way of what all of the  
> functions do or how to use them. Is there any more information to be  
> had?

JobControl is simply "program" that is run.  faxq read's the output of
the program, in  a "param: value" format, and acts on them.

The params are described in the jobcontrol manpage.  As mentioned in the
man page, any option not listed there is passed directly to the faxsend
program with the -c "param:value", allowing you to driectly control
faxsend options (like localidentifier, etc) with jobcontl.

I've put a few simple examples up:

These samples show how to "get" information about a job from the qfile,
and how to set "params" that you can control..  These are all basic
shell scripts, but there is nothing that makes jobcontrol have to be a
shell script.  You could use perl, python, php, C/C++, asm, java, etc.

What specifically are you looking for?


Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

Attachment: signature.asc
Description: Digital signature

Project hosted by iFAX Solutions