This blog will help to start the AIS Scheduler automatically whenever AIS Service is restarted, so we no need to use postman or curl call to start the AIS Scheduler.
This feature is available starting from the tools release 9.2.4.0
Follow the below steps to auto start AIS Scheduler
- Configure rest.ini
- Restart HTML & AIS Service
- Verify the AIS Scheduler status
- Schedule a orchestration to autostart
Step 1 : Configure rest.ini
Login into SM console then access the AIS Instance on which you want to enable this feature. Now under configuration section , change the view as "Advanced" and click on Miscellaneous section
Enter the below values as shown in the below screenshot. For more information on these setting refer the document --> Configuring AIS Server Manager Settings
Now Click on Synchronize configuration button to Synchronize the rest.ini changes
Step 2 : Restart HTML & AIS Service
We can use SM console to restart HTML Service
Once HTML Service has been started successfully , now start the AIS Service using SM console
Step 4 : Verify the AIS Scheduler status
Verify the AIS Server e1root.log to verify whether AIS Scheduler has been started successfully or not.
We can also verify the status from Orchestrator Studio --> Scheduler User Interface
Step 4 : Schedule a orchestration to autostart
To test whether scheduler auto start the AIS Server jobs , we created the below simple orchestration to submit the UBE R0006P every 1 hour
Whenever below orchestration is executed it will submit the UBE R0006P
This Orchestration is attached to the schedule "Every 1 hour" to trigger the job.
Now Login into Orchestrator Studio then access scheduler user interface & click on the below highlighted option to make this job as an autostart job
These records are stored in the table F980059. These records can be viewed or deleted using the application P980059
Restart the HTML Service and AIS Server Service. We can verify from AIS Server Scheduler UI , whether jobs are running or not. Now this orchestration is scheduled to run at every 1 hour & these job will be auto started whenever AIS Server is restarted. Here after we no need to use postman or curl call to start the AIS Scheduler.
For more information refer the guide --> JD Edwards EnterpriseOne Application Interface Services Server Reference Guide