Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This example describes how to poll a ftp server e.g. an FTP server - for example, in a DMZ . For and start the execution of a job chain for each file found. The example shows the configuration for the JobScheduler's YADE Client JITL job, which is a job chain should be executed. In this examplepre-configured job delivered with the JobScheduler.

In the example:

  • each file found on the FTP server is transferred the file will be transfered to local (using the YADE copy command)
  • the fill will be files are renamed
  • the remote file will be files are deleted
  • for each file an order will be created for another job chain is created for each file.

The configuration setups sets up 2 job chainchains. The job chain job_chain_ftp_file_order_source contains one step with the YADE Client job.

The order for the polling job chain sets the parameters for polling (10s) and poll_timeout (1m). When Polling is restarted after the timeout is reached, the polling starts againhas been reached.
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

...