Versions Compared

Key

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

When running scheduled jobs from WhereScape RED, it's possible to configure a job to run commands when the job finishes successfully or when it fails. These commands can be set to send email notifications or create a log file about failure or success statuses. status. 

Success and Failure commands can use variables and tokens, this allows them to use host scripts stored on the metadata repository instead of setting up scripts for each existing scheduler.

Success Commands



Failure Commands


Along with supporting the existing RED 9 behavior we have also added the capability to use the token format for referencing scripts from the metadata within the success/failure commands, which means you don't need to store a static script somewhere for each scheduler and instead pick it up from a host script stored in the metadata.


The version of Azkaban we ship has a known issue in that even for successful conditional execution the job in Azkaban is marked as cancelled, because in either execution path, success or failure, there are items in the flow that are skipped (i.e the failure step is skipped for success and the success is skipped on failure).

...