Trillo Workbench Guide
  • Introduction
  • Development Workflow
  • Using Trillo Workbench APIs
  • Data Service
  • Serverless Functions for Business Logic
  • Domain Metadata
  • File Management Service
  • Doc Management Service
  • Scheduling a Backend Task
  • Task History
  • Audit Logs
  • Restful Services Integration
  • OpenID Connect (OIDC) for Identity
    • Steps for Integrating Identity using OIDC
    • Google Identity Integration
    • Okta Integration
    • OneLogin Integration
  • Settings
  • User Management
  • GitHub Integration
  • Releases
Powered by GitBook
On this page

Was this helpful?

Scheduling a Backend Task

This section discusses how to create scheduler and use them to trigger backend task based on cron expression.

PreviousDoc Management ServiceNextTask History

Last updated 1 year ago

Was this helpful?

The scheduling allows the activation of a function or workflow at designated times or intervals. It provides the flexibility to set input parameters, if needed, for the function or workflow. Additionally, it offers the capability to start or stop the scheduler. For creating a cron job, the instructions provided at the following link can be followed:

Example:

  • Navigate to the "Schedules" tab, click on the three dots, and choose the "New Schedule" option.

  • Enter the Scheduler name and click "OK."

  • On the left side, choose the recently created scheduler. Provide the cron job, function/workflow name, and description.

  • After adding the details, click on the Save icon located in the top right corner. Start the scheduler when you are ready.

  • The function specified in form is executed as per the cron expression by passing the specified parameters.

https://www.freeformatter.com/cron-expression-generator-quartz.html