Scheduled Tasks

Sometimes you don't want to wait for an event to happen to trigger an action. Sometimes you just want your AI to do something at a specific time — every morning at 9:00 AM, every Friday evening, or even just once, two hours from now.

Meggy's Scheduled Tasks system brings precision timing to your AI agents. It allows you to move beyond immediate chat interactions and event-driven hooks, letting your AI work for you in the background according to a schedule you define.

Cron, One-time, and Presets

The scheduling engine supports three primary ways to trigger your agents:

  1. Recurring (Cron): Use standard cron expressions (e.g., 0 9 * * * for daily at 9am) to set up repetitive workflows. This is perfect for daily briefing generators, weekly repo audits, or monthly financial reviews.
  2. One-time: Pick a specific date and time in the future. This is ideal for reminders, scheduled research tasks, or preparing a report while you're away.
  3. Presets: For common schedules like "Every 15 minutes," "Hourly," or "Weekdays at 9am," Meggy provides one-click presets so you don't have to remember cron syntax.

How it Works with Agents

A Scheduled Task combines three components:

When a task fires, Meggy initializes the selected agent and executes the prompt in the background. The result is stored in the Execution History, and if you have Remote Delivery enabled, the output is automatically sent to your preferred channel (Telegram, Slack, etc.).

The Tasks Dashboard

The dedicated Tasks page (📋) in the sidebar provides a command center for all your automations:

Automated Peace of Mind

Scheduled Tasks are the final piece of the autonomy puzzle. By combining them with Autonomous Agents and Hooks, you can build a truly self-sufficient AI workforce that handles the routine, monitors the important, and alerts you only when it's done.

Whether it's a "Daily News Briefing," a "Weekly Code Quality Audit," or a "Scheduled Memory Cleanup," Meggy's scheduling system ensures your AI tools are as reliable as clockwork.