Cronjobs
Overview
The Cronjobs page defines scheduled tenant jobs and when they run. Open it from Configuration > More Configuration > Cronjobs.
The page works against the tenant currently selected in the top bar. The screenshots and demo rows were captured in the Canistracci OIL tenant.
Working with objects
| Task | How to do it |
|---|---|
| Add | Select the New cronjob action, complete the form, and select Save. |
| Edit | Open the cronjob from the list by selecting its name, number, or row action. Change the form and select Save. |
| Delete | Select the row checkbox and use Delete Selected, or open the cronjob and select Delete, then confirm. |
Page functions
| Action | Description |
|---|---|
| New Cronjob | Opens the creation form for a new cronjob. |
| Delete Selected | Deletes the selected rows after confirmation. |
List columns
| Column | Description |
|---|---|
| Name | Display name used in lists and references. |
| Type | Mode selector that changes the behavior of the object. |
| Active | Object setting shown by the form. |
| Minute | Object setting shown by the form. |
| Hour | Object setting shown by the form. |
| Day | Object setting shown by the form. |
| Month | Object setting shown by the form. |
| Year | Object setting shown by the form. |
| Weekday | Object setting shown by the form. |
| Timezone | Object setting shown by the form. |
| Last Started | Object setting shown by the form. |
| Last Ended | Object setting shown by the form. |
| Duration | Object setting shown by the form. |
| Action | Object setting shown by the form. |
Demo records
The tenant contains 1 documentation demo record for this page: Docs Demo Cron 1.
Deleting records
Before deleting a cronjob, check references from call flows, destinations, schedules, reports, or provisioning objects. MiRTA PBX asks for confirmation before the delete is submitted.
Create and Edit Cronjobs
Use this page when creating a new cronjob or editing an existing cronjob from Configuration > Cronjobs.
The form screenshots below are separated by block where the application exposes separate sections. Complete the required values, review routing or destination references, and save the record.
Form sections
| Section | Description |
|---|---|
| Cronjob | Scheduling controls for when the object runs. |
| Schedule | Scheduling controls for when the object runs. |
Cronjob
Scheduling controls for when the object runs.
Schedule
Scheduling controls for when the object runs.
Main fields
| Field | Description |
|---|---|
| Name: | Display name used in lists and references. |
| Active: | Object setting shown by the form. |
| Disable once run: | Object setting shown by the form. |
| Run from node: | Object setting shown by the form. |
| Hour: | Object setting shown by the form. |
| Minute: | Object setting shown by the form. |
| Timezone: | Object setting shown by the form. |
Saving and deleting
| Task | How to do it |
|---|---|
| Create | Select the new action from the Cronjobs list, fill the required fields, and select Save. |
| Edit | Open the existing cronjob, update the needed fields, and select Save. |
| Delete | Before deleting a cronjob, check call-flow, destination, schedule, report, provisioning, or integration references. Use the row delete action or the form delete action when available, then confirm. |