You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Cron Job Data Sheet

Click on a cron job to open the data sheet.

The data sheet of a cron job consists of different areas:

  1. Options
  2. Editable Settings
  3. Additional Information
  4. Error Logs (for details see page Reading the Logs of a Cron Job)

How to Edit a Cron Job

Options

In the navigation bar of the job data sheet you find different options:

IconDescription
Use this icon to go back to the job list.
Use this icon to save changes to the data sheet.
Use this icon to deactivate the job.
Use this icon to activate the job.
Use this icon to execute the job.
Use this icon to delete the job.

Editable Settings

The following cron job settings can be edited after the cron job is created:

MultiExcerpt named cron_pattern was not found -- Please check the page name and MultiExcerpt name used in the MultiExcerpt-Include macro

Service

Open the drop-down list to select the appropriate service.

Event

Open the drop-down list to select the appropriate event. The list shows all events that are available in the selected service.

Activate Job After Saving

The field allows you to activate the job directly:

  • Choose option Activate to activate the job when it is created.
  • If you choose Don't activate (default), the job remains deactivated until you activate it manually (refer to Editing a Cron Job for details).

Execute Job After Saving

The field allows you to initiate the first execution of the job regardless of the pattern:

  • If you choose Execute, the job will be executed initially after its creation - regardless of the defined pattern. The second execution is then based on the pattern.
  • If you select Don't execute (default), the execution will be based directly on the pattern if the job is activated.

Payload

Enter your service request in the editor. The payload must contain a valid JSON. The editor supports you to insert valid JSON:

IconDescription
Click Format to format your input with proper intendation and line feeds (default).
Click Compact to remove all whitespaces and show compact JSON data.
Click Undo to undo your last action in the editor.
Click Redo to redo your last action in the editor.

Don't forget to save  your changes before you leave the data sheet.

Additional Information and Logs

The cron job data sheet also contains further details of the job in read-only mode.

Additional Information

Section Additional Information contains the meta information about the job such as:

  • Status
  • Name
  • Internal Context
  • User Context UUID
  • Last Execution (date and time)
  • Creation Date (date and time)
  • Modification D ate (date and time)

Error Logs

Section Error Logs allows the user to search the logs of the cron job.

See page Reading the Logs of a Cron Job for further details.

The maximum size of the error log for each cron job is per default 100. You can adjust the value in the service-specific configuration file, refer to Adapting Integration Service Configuration for further information. In the configuration file, adjust the property errorLogMaxSize and restart the cron-service.

Please note that old logs will be deleted if you decrease the value (sorted by their creation date). Changing the value affects all cron jobs.

  • No labels