You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

UNDER PROGRESS

 

 

File order source 

A job chains can be triggered by two type of Orders 1. time based Orders and 2. File Orders. A job chain can be configured to start on arrival of a file by using File Order Source. A File Order Source require configured by minimum to parameters 1. Directory and 2. Regex, where Directory is the file system location where JobScheduler should check for arrival of file and Regex is the regular expression which should be matched with the filename.

<?xml version="1.0" encoding="ISO-8859-1"?>

<job_chain  name="job_chain2">
    <file_order_source  directory="c:\sandbox\outgoing" regex="^test.txt$"/>
    <job_chain_node  state="1" 
                      job="job1" 
               next_state="success" 
              error_state="error"/>
    <file_order_sink  state="success" 
                     remove="yes"/>
    <file_order_sink  state="error" 
                     remove="yes"/>
</job_chain>

 

 

 

 

Job chain configuration

x

Watching multiple directories

x

Watching multiple files

x

  • No labels