Versions Compared

Key

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

...

In this example user want to poll for an incoming file on the ServerA, once file matching with the reguler expression is found on ServerA, 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.

Graphviz

digraph "Example: Server to Server Transfer with polling" \{

rankdir=LR;

edge [
color="#31CEF0"
];

source_server [label="Data Source (FTP)"];
target_server  [label="Data Target (sFTP)"];
jobscheduler  [label="JobScheduler \n JADE JITL job \n SSH JITL Job"];


source_server->target_server [label="2. data transfer"];
source_server->jobscheduler  [dir=both label="commands" color="grey"];
source_server->jobscheduler  [dir=both label="1. polling" color="blue"];
jobscheduler->target_server  [dir=both label="commands"  color="grey"];
jobscheduler->target_server  [dir=righ label="ssh command"  color="red"];

Solution

For such a file transfer and processing workflow, JobScheduler has built in JITL jobs, namely JADE job and SSH job.
The JADE JITL jobs can be configured to transfer data from Server-to-Server without touch down, more information about Server-to-Server transfer can be found here Server to Server Transfer.
The JADE has inbuilt polling feature which can be configured using polling parameter of JADE i.e. poll_interval : frequency of polling in seconds and poll_timeout : maximum time in seconds for polling. The job_chain can be configured by an order to run at predefined time, repeat execution or can be started manually.

...