Create a Job

To create a Job, you designate a server and directory to scan, set a scan interval, and optionally set filters to determine which files in the directory should trigger the actions you define in the Actions list. When Reflection Gateway detects new or updated files in the scanned directory that meet the filter conditions, it executes your defined Job actions.

Note that you can configure one or more actions for each Job. Reflection Gateway executes actions in the order listed. If an action fails:

  • If a Failure email is configured, the email is sent to specified recipients.

  • No subsequent actions are processed.

Before you begin

  • To create a Job, you must be a member of the File Transfer Administrators group, the Administrators group, or any group with the Manage jobs role enabled.

  • Initial configuration of SFTP servers, Hubs, and email should be complete. This must be done by a user with System setup privileges.

To create a new Job

  1. Log in to Gateway Administrator.

  2. Go to Jobs > New.

  3. For Name, enter a descriptive name for the Job.

  4. Leave Disabled selected for initial testing. You can use the Run Now feature to test disabled Jobs. After you are satisfied that the Job runs as expected, select Enabled to run the Job at the specified scan interval.

  5. Under Source Files, configure the following:

    Server

    Select the server you want to scan.

    Directory

    Browse to select the server on the directory to scan for new or updated files.

    Recursive

    (Optional) Select Recursive if you want the scan to include subdirectories of the specified directory.

    Scan Interval

    (Optional) By default the directory is scanned every 10 minutes. You can change the frequency or days for scanning.

    Filters

    (Optional) By default all files are scanned. You can filter by name, size, modified time. You can also configure a minimum number of files that must arrive before Job actions begin.

    Use the check box to invoke the Failure email notification if no files meet the filter conditions at the end of the scan interval.

  6. Under Actions, from the Add action... drop-down list, select either Transfer file or Execute command. For details see:

  7. (Optional) Under Success and Failure, click Change to configure email notifications.

  8. Click Save.

  9. Click Run Now to test. You’ll see a Running Job message. You can close this message at any time; it has no effect on execution of Job actions.

    NOTE:If you make modifications to your Job, ensure that there are new or updated files in the scanned directory before each test.

  10. (Optional) Configure additional actions for this Job.

  11. After your Run Now tests work as expected, click Enabled and save the Job to have the Job run automatically on the specified Scan Interval.

To copy an existing Job

You can copy existing Jobs to create new Jobs based on existing Jobs.

  1. On the Jobs tab, select the Job you want to copy and click Copy. A renamed copy of the selected Job is added to your Jobs list.

    NOTE:All copied Jobs are marked as Disabled initially. This ensures that you don’t have identical Jobs running simultaneously.

  2. Edit the copied Job and test it using Run Now.

  3. After your Run Now tests work as expected, click Enabled and save the Job to have the Job run automatically on the specified Scan Interval.