Activate Asynchronous Hook Processing Centos 6.x®

  1. cp /usr/local/billmax/pkg/bx_processHooksAsync /etc/init.d
  2. chmod 755 /etc/init.d/bx_processHooksAsync
  3. chkconfig --add bx_processHooksAsync
  4. chkconfig bx_processHooksAsync on
  5. Optionally cp /usr/local/billmax/local/hooksasync.conf-dist /usr/local/billmax/local/hooksasync.conf and edit the following settings
    HOOKSASYNC_SLEEP
    The number of seconds to wait before starting another iteration of processing
    HOOKSASYNC_RETAIN_COMPLETE
    The number of days to keep completed entries in the asyncprov table.
    HOOKSASYNC_RETAIN_ERROR
    The number of days to keep entries in the asyncprov table where the hook returned a non-zero code.
    HOOKSASYNC_RETAIN_PENDING
    The number of days to keep entries in the asyncprov table where the entry was created but not released for processing.
  6. service bx_processHooksAsync start