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

Compare with Current View Page History

Version 1 Next »

This example describes how to poll a ftp server e.g. in a DMZ. For each file found, a job chain should be executed. In this example

  • the file will be transfered to local (using the JADE copy command)
  • the fill will be renamed
  • the remote file will be deleted
  • for each file an order will be created for another job chain.

The configuration setups 2 job chain. The job chain job_chain_ftp_file_order_source contains one step with the jade client job.

The order for the polling job chain sets the parameters for polling (10s) and poll_timeout(1m). When the timeout is reached, the polling starts again.
The order also defines how to create the order for each file by setting the value for order_jobchain_name to a valid job chain name.
It also describes how to transfer the files. In this case copying with source protocol is ftp and target protocol is local

The job chain job_chain_file_order_source_execute can be an job chain you want to execute. Please note that the orders for this job chain will be created by the polling job chain. These orders will have the same parameters as the polling order and additionally these

  • scheduler_file_path
  • scheduler_file_parent
  • scheduler_file_name
  • scheduler_target_file_parent
  • scheduler_target_file_name
  • scheduler_source_file_parent
  • scheduler_source_file_name
  • ftp_result_files
  • ftp_result_zero_byte_files
  • ftp_result_filenames
  • ftp_result_filepaths
  • ftp_result_error_message

  • No labels