Easily find issues by searching: #<Issue ID>
Example: #1832
Easily find members by searching in: <username>, <first name> and <last name>.
Example: Search smith, will return results smith and adamsmith
Aqua Data Server (Public) / nhilam |
Follow
122
|
After you have developed production ready AquaScripts, you might want to execute some of them on a periodic basis or in a background thread. Aqua Data Server's scheduled job functionality is designed to address these requirements. In a scheduled job, you specify the AquaScript to run and how often the AquaScript should be executed. Aqua Data Server's Scheduler engine automatically invokes the AquaScript at the designated time. Once the script is finished executing, you can view its execution history and its results. One use case might be that you need to send a daily status report on the number of outstanding orders. You could create an AquaScript that queries the database to get the number of outstanding orders, graph the data, embed it inside of excel and emails it to your manager all using the Aqua Open APIs. You could then create a scheduled job to run this report on a nightly basis. On this page:
The Scheduled Jobs tab displays a list of all Scheduled Jobs in the current project to which you have access.
Clicking a job's name displays the Job's Details and Execution History. The Job Details section includes:
The execution history shows detailed information about each time the job was executed. This section includes:
Scenario 1: Job Success
Click on a successfully completed Job to see the list of its executions. The Status column indicates it completed and it generated results. Click the Result link for a specific execution.
Clicking the Results link for a specific execution gives details on its success.
Scenario 2: Job Failure
Clicking on a Failed Job reveals a list of red rows indicating details of all of its failures. Click the Results link to see information about the Job failure.
A failed Job gives error information on the Results detail page.
The New Job button and the Edit Job action enable you to specify all Job related parameters for scheduling an AquaScript's execution.
Clicking the Execute action will immediately run the job in a background thread. Similar to a job that is invoked automatically, the job's execution history will be updated, and the job can be viewed in the Admin -> Scheduler section. Once a job is running, no distinction is made between whether it was invoked manually or via the scheduler engine. You can look at the "Invoke Type" column in the job's execution history to determine how it was started.
Clicking the Delete action will remove the job from the system and related execution history. You cannot delete a job while it is running.
About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017