Panel | |
---|---|
|
...
This Universal Task provides the capability to schedule SAP HANA extended application services Jobs (SAP HANA XSA Jobs) from the Universal Automation Center.
...
Process Description:
Goal is to schedule SAP HANA extended application services Jobs using Universal Controller instead of using the "Recurring - Cron" Schedule defined in the SAP HANA Web IDE.
The "Recurring - Cron" Schedule defined in the SAP HANA Web IDE should not be used anymore for scheduling.
To achieve this, the following steps need to be performed:
- The XSA Job will be created in the SAP HANA Web IDE in the same way as before, except that the “xscron" parameter will be set to a date in the past. As a result the "Recurring - Cron" Schedule will never be executed.
- The new Universal Task HANA XSA will add a one-time schedule to the provided HANA XSA Job (Universal Task Parameter XSA Job Name).
- Optionally a Parameter file can be added to the one-time schedule. The Parameter file can be provided from the Universal Controller script library or dynamically retrieved from the last Job schedule, which has not been scheduled from Universal Controller.
- The one-time schedule is automatically executed after launching the Universal Task in Universal Controller
- Optionally, via the flag "Set RecurringJob Schedules to Inactive", all Job Schedules of this Job of Type "Recurring - Cron" are set to inactive. This avoid that the Job is started via a "Recurring - Cron" Schedule defined in the SAP HANA Web IDE.
- The Job is monitored by the Universal Task, while it is running
- After completion of the task the log-file is available in the Task Output, containing the same information as provided by HANA "job-scheduler-service-dashboard".
- In case an XSA Job Fails ( "runStatus": "COMPLETED", "runState": "ERROR") a re-run of the Universal Task can be performed, which will add a new one-time schedule to the XSA Job. As the result the XSA Job will run again from the start.
...
Anchor | ||||
---|---|---|---|---|
|
Changelog
ut-cs-sap-hana-xsa-1.0.
...
1 (2023-12-21)
Support for copying Input Parameters from an existing Job Schedule definition
...