Skip to main content

CronTrigger

Cron Trigger – Start Workflows on a Schedule

Summary (SEO Meta Description):
The Cron Trigger in WeHub starts workflows on a recurring schedule using cron expressions.
Configure it to run workflows at fixed times, dates, or intervals.


Overview

The Cron Trigger is a standalone Trigger plugin that starts workflows automatically on a time-based schedule.
It uses cron expressions to define when the workflow should run.

This trigger is ideal for scheduled jobs, daily reports, batch processing, and time-based automation.


⚙️ Configuration Options

FieldTypeDescription
LabelStringCustom name for the trigger node.
ConfigString (Cron Expression)Defines the schedule in cron format (e.g., "0 0 * * *" for daily at midnight).

⌨️ Cron Expression Format

A cron expression consists of five fields:

📝 Example Configurations

ExpressionMeaning
0 * * * *Run every hour at minute 0
0 0 * * *Run daily at midnight
0 9 * * 1-5Run every weekday at 9 AM
*/15 * * * *Run every 15 minutes
0 0 1 * *Run monthly at midnight on the 1st day
0 0 * * 0Run every Sunday at midnight

💡 Example Use Cases

  • Healthcare → Trigger daily sync with hospital systems at midnight.
  • Finance → Run end-of-day reconciliation jobs.
  • Data Pipelines → Schedule ETL jobs every hour.
  • Notifications → Send reminders or status updates at fixed times.

FAQ

Q: What timezone does the Cron Trigger use?
A: It uses the server’s default timezone unless configured otherwise.

Q: Can I run workflows every few seconds?
A: The minimum supported interval is once per minute.

Q: Does it support both standard and extended cron syntax?
A: Yes, you can use standard 5-field cron expressions and common shorthand values (@hourly, @daily, @weekly).


Keywords: WeHub Cron Trigger, Workflow Scheduling, Scheduled Workflow, Cron Expression, Time-based Automation