Introduction
In this example user want to poll for an incoming file on the ServerA, once file matching with reguler expression is found JobScheduler should transfer the file(s) from ServerA to ServerB.
After successfully transfer of file on ServerB, JobScheduler should start an processing script on ServerB via SSH.
Solution
For such a file transfer and processing workflow, JobScheduler has inbuilt JITL jobs, namely JADE job and SSH job.
Job Chain : FileTransferAndProcessing.job_chain.xml
The job chain FileTransferAndProcessing has two nodes/steps:
Step 1: jade_s2s_file_transfer.job.xml
Step 2: start_proccessing_ssh.job.xml
Jade Job : jade_s2s_file_transfer.job.xml
This job is an JITL job