Kicking off billing scipt in accounting block

Alan DeKok aland at deployingradius.com
Sat Jun 21 18:39:15 CEST 2008


Pete Kay wrote:
> I have tried the following:
> accounting{
> 
>       sql
> 
>         exec  /etc/billing/bill
> }

  That don't work.  The entries are module names, not lists of parameters.

  Read the example for the "exec" module to see how to execute a
specific program.  See the "echo" example.

> But it still does not work.  I checked the unlang, but it does not give
> me much hint....

  It tells you how you can run shell scripts.  Use back-ticks.

  Alan DeKok.



More information about the Freeradius-Users mailing list