Rule Schedule — When Rules Run

Last updated: April 18, 2026

Rules in Wevion don't run continuously — they evaluate on a schedule you define. Understanding how scheduling works helps you balance responsiveness with system resources and avoid over-processing your campaigns.


Prerequisites

  • A rule created in Wevion (active or paused).
  • Understanding of basic rule concepts.

Introduction to Rules — Automate Your Ad Management


How It Works

Every rule in Wevion has a schedule interval that determines how frequently it is evaluated. Wevion's automation engine runs a background process every 15 minutes that checks all active rules. For each rule, the system compares the current time against the rule's last_evaluated_at timestamp and its configured interval — if enough time has passed, the rule is queued for evaluation.

The evaluation process follows this order:

  1. Insight collection runs first (every 15 minutes), pulling fresh data from Meta.
  2. Rules evaluation runs 2 minutes after insight collection, ensuring rules always operate on the latest data.

This means even if you set a 15-minute interval, your rule evaluates against data that is at most 17 minutes old.


Step-by-Step Guide

1. Choose an Interval When Creating a Rule

When you create or edit a rule, you'll find the Schedule section. Select one of the available intervals:

Interval Best For
Every 15 minutes Critical rules (spend caps, emergency pauses)
Every 30 minutes High-priority performance rules
Every 1 hour Standard optimization rules
Every 2 hours Budget adjustments, moderate monitoring
Every 4 hours Low-urgency checks, daily pacing rules
Every 12 hours Twice-daily summaries, long-range analysis
Every 24 hours Daily reviews, end-of-day cleanup
📸 Schedule interval dropdown in rule builder showing all 7 interval options

2. Set Your Timezone

Each rule has a timezone setting (default: Europe/Rome). This determines how time-based calculations are anchored — particularly important for timeframes like "today" and "yesterday" in your conditions.

For example, if your rule checks "today's spend" and your timezone is set to Europe/Rome, "today" starts at midnight Rome time, regardless of Meta's account timezone.

3. Understand the Evaluation Window

The 15-minute background cycle means:

  • A rule set to every 15 minutes will be evaluated in every cycle.
  • A rule set to every 1 hour will be evaluated once every 4 cycles (the first cycle where at least 60 minutes have passed since the last evaluation).
  • A rule set to every 24 hours will be evaluated once per day.

The exact minute of evaluation is not fixed — it depends on when the 15-minute cycle runs relative to the rule's last evaluation. This slight variability (±15 minutes) is normal and by design.


Options and Configuration

Schedule Type

Currently, all rules use interval-based scheduling. You set a fixed interval (e.g., every 30 minutes), and the rule evaluates at that frequency.

Interaction with Cooldown

The schedule interval and the cooldown period are independent settings:

  • Schedule interval = how often the rule is evaluated.
  • Cooldown = how long to wait before acting on the same entity again.

For example, a rule with a 15-minute interval and a 6-hour cooldown will evaluate every 15 minutes, but once it pauses a campaign, it won't pause that same campaign again for 6 hours — even if the conditions still match.

Rule Protections — Cooldown, Backoff, and Limits

Interaction with Max Executions Per Day

If your rule hits its daily execution limit, it stops creating new executions for the rest of the day, regardless of the schedule interval. The rule will resume evaluating the next day.


FAQ

Q: Can I set a rule to run at a specific time (e.g., 9:00 AM)? A: Not currently. Rules use interval-based scheduling rather than fixed-time scheduling. To approximate a specific time, you can set a 24-hour interval — the rule will evaluate approximately once per day, though the exact time may drift slightly.

Q: What happens if the system is busy and misses a cycle? A: The rule will be evaluated in the next available cycle. The system tracks the last evaluation time, so it will never skip a due rule permanently — just delay it until the next 15-minute cycle.

Q: Will a paused rule still be evaluated on schedule? A: No. Only rules with active status are evaluated. Paused rules are completely skipped by the scheduler.

Q: Does the evaluation interval affect how fresh the data is? A: No. Data freshness is determined by the insight collection cycle (every 15 minutes), not by your rule's interval. Whether your rule runs every 15 minutes or every 24 hours, it always evaluates against the most recently collected data.

Q: Can two rules conflict if they run on the same schedule? A: Yes, theoretically. If Rule A increases budget and Rule B decreases budget on the same entity, the outcome depends on which rule evaluates first. To avoid conflicts, use the priority field to control evaluation order, or use entity filters and conditions that prevent overlap.


Related Articles