Seon Core - understand the queueing system

From Seon
Revision as of 21:10, 23 September 2007 by Admin (talk | contribs)
Jump to: navigation, search

When sending a file in batch mode, you should enqueue a file into the Seon send queue. In order to do this, you have several possibilities:

  • use the web interface
  • use the command line interface

In fact, you could also insert values into the MySQL database table "<tableprefix>send_queue", but when doing this you should contact an Seon developer because the schema of the table could change.

When a file is enqueued into the send queue, the Seon send queue daemon is responsible for sending this file to a partner. Some rules are set for sending files:

  • the file must be readable by the process running Seon (which may be configured here
  • the entry must be in the state "new in queue"
  • the entry must fit to the Seon server ID running the process (see documentation on parallel installations
  • the target partner entry must be active if an "active" row is configured here
  • a defined media must be set for that partner (see configuration here and here

If all these pre-conditions are met, an additional time is being slept (defined through the parameters documented here. If the following connection try fails, all send queue entries send try of that partner are raised by one. If the connection is properly set up and the file is transfered correctly, the entry of the send queue may be removed if this flag is enabled, otherwise it changes to "successfully sent".