Scheduled triggers let you run automations by time, not only by user actions.

Use them for recurring jobs like reminders, stale issue cleanup, and periodic status checks.

What is a scheduled trigger?

A scheduled trigger runs a rule at a fixed interval or specific time (for example, every 5 minutes, every day at 09:00, every Monday, etc.).

How to configure a scheduled rule

  1. Open Administration -> Automation Rules -> New Rule
  2. In Trigger, choose Scheduled
  3. Define interval/time
  4. Add optional conditions (project, tracker, status, due date)
  5. Add actions (email, reassign, comment, edit issue, webhook)
  6. Save and enable

Example use cases

  • Send daily reminders for overdue issues
  • Reassign unhandled tickets every morning
  • Auto-close stale low-priority issues weekly
  • Trigger periodic webhooks to external systems

Linux server requirement: cron

Scheduled triggers execute through a background job. Add this cron entry:

Terminal window
*/5 * * * * cd /path/to/redmine && RAILS_ENV=production bundle exec rails runner "AutomationRunScheduledTriggersJob.perform_now" >> log/cron_automation.log 2>&1

This checks and executes scheduled rules every 5 minutes.

Windows Server alternative (Task Scheduler)

If your Redmine is on Windows, use Task Scheduler instead of cron:

  1. Create a task named Redmine Automation Scheduler
  2. Run whether user is logged in or not
  3. Set trigger to repeat every 5 minutes indefinitely
  4. Action: run cmd.exe with command to execute the same Rails runner job

Command example:

Terminal window
cmd.exe /c cd /d C:\path\to\redmine && set RAILS_ENV=production && bundle exec rails runner "AutomationRunScheduledTriggersJob.perform_now" >> log\cron_automation.log 2>&1

Validation checklist

  • Rule is enabled
  • Cron/Task Scheduler is running
  • Redmine logs show scheduler execution
  • Test rule produces expected action (email/comment/reassign/etc.)