Cron Job
Copy
- Admin user can create new Cron Job going through TOC → Administrators → Pro App Designer → Background & Cron Jobs → Cron Jobs.
- Click on “Create New Cron Job”.
- During creation, user can enter values for the Cron Job properties.
- Name: Name of the Cron Job
- Start Execution On: Initial start date time for the Cron Job
- Job Function: The method that you want execute as a part of Cron Job.
- Integration (Optional): Integration Specific Cron Job. To be set when this Cron Job is for a specific integration.
- Description: Description of the Cron Job
- Disabled: Enable/Disable the Cron Job
- Next Execution Scheduled On: This is a read-only field that displays the next scheduled run time of the Cron Job, calculated automatically based on the recurrence settings configured within the job.
- Previous Execution Started On: This is a read-only field that displays the start time of the previous execution.
- Previous Execution Completed On: This is a read-only field that displays the end time of the previous execution.
-
:By clicking this button, the admin user can trigger the Cron Job to execute immediately. - Admin user can choose the “Frequency” and according to the selection, relevant portions of the UI will be shown.
- For selecting frequency of Cron Job, it has three options:
- Daily
- Weekly
Monthly
Daily:
- Recurse: It is a span of days between the Cron Job executions.
- Repeat Every Hour / minute: It is a time span for re-execution of Cron Job.
Weekly:
- Recurse: It is a span of Weeks between the Cron Job executions.
- Weekly Days: Cron Job will run on the chosen days.
Monthly:
-
: By clicking on this button form ”Select Month & Day” will pop up, After selecting month & day and clicking “OK” button, value will appear on the TextBox. The Cron Job will run in accordance with the chosen dates. -
: By clicking on this button all selected Month & Day gets cleared from the TextBox.
- For selecting frequency of Cron Job, it has three options:
- Associated Type → Type (Optional): Name of the ItemType if this Cron Job is specific to any ItemType
- Associated Type → Filter Expression (Optional): If an Associated Type is defined for the Cron Job, this optional field allows you to specify a filter expression to be applied when retrieving items.
- Job Executions: User can check all the executions of a particular Cron Job by opening the Cron Job item and navigating to Executions relationships tab.
- User can “Abort” the execution of Cron Job only when Cron Job has Conversion Task status = “In Progress”.
- Right Click on Cron Job in Queue
- Go to Actions
- Select “Abort Job”.
- User can “Abort” the execution of Cron Job only when Cron Job has Conversion Task status = “In Progress”.
- User can “Retry” the execution of Cron Job only when Cron Job has Conversion Task status = “Failed”.