Skip to content

Scheduled Tasks Guide

VeryLiu-lab edited this page Feb 15, 2026 · 1 revision

โฐ AionUi Scheduled Tasks Guide

This guide explains how to use AionUi's scheduled tasks feature to automate your work and achieve true 7ร—24 hours unattended operation.

English | ็ฎ€ไฝ“ไธญๆ–‡

๐ŸŽฏ What are Scheduled Tasks?

Scheduled tasks allow you to set up automatic operations that run at specified times. After configuration, the AI assistant will automatically execute according to your set schedule, truly achieving 7ร—24 hours unattended operation.

Key Features

  • Natural Language Setup - Tell AI what to do using natural language, just like chatting normally
  • Flexible Scheduling - Support cron expressions for complex schedules (daily, weekly, monthly, custom intervals)
  • Easy Management - Create, modify, enable/disable, delete, and view scheduled tasks anytime
  • Conversation-Bound - Each scheduled task is bound to a conversation, maintaining context and history
  • Automatic Execution - Tasks run automatically at scheduled times, sending messages to the conversation

๐Ÿš€ Quick Start

Step 1: Create a Conversation

  1. Open AionUi application
  2. Create a new conversation or use an existing one
  3. Make sure the conversation has a working directory associated (optional but recommended)

Step 2: Request a Scheduled Task

Simply tell the AI assistant what you want to schedule using natural language:

Example 1: Daily Reminder

Please remind me every day at 9:00 AM to check my email

Example 2: Weekly Report

Create a task to generate a weekly summary every Monday at 8:00 AM

Example 3: Regular Data Collection

Set up a task to collect data every 30 minutes

Step 3: Confirm the Task

The AI will:

  1. Query existing tasks in the conversation
  2. If a task exists, ask if you want to replace it
  3. Create the scheduled task with the appropriate cron expression
  4. Confirm the task details

๐Ÿ“‹ How It Works

Task Creation Process

When you request a scheduled task, the AI assistant follows this workflow:

  1. Query Existing Tasks - Checks if the conversation already has a scheduled task
  2. Ask for Confirmation - If a task exists, asks whether to replace it or keep it
  3. Create Task - Generates the cron expression and creates the task
  4. Confirm Details - Shows the task name, schedule, and message

Important Rules

  • One Task Per Conversation - Each conversation can only have ONE scheduled task
  • Conversation Binding - Tasks are bound to specific conversations, maintaining context
  • Automatic Execution - When triggered, the task sends a message to the bound conversation
  • Context Preservation - The conversation maintains its full history and context

โฐ Cron Expression Guide

Basic Cron Format

Cron expressions use the following format:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ minute (0-59)
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ hour (0-23)
โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ day of month (1-31)
โ”‚ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ month (1-12)
โ”‚ โ”‚ โ”‚ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ day of week (0-6, SUN-SAT)
โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
* * * * *

Common Examples

Expression Meaning
0 9 * * * Every day at 9:00 AM
0 9 * * MON Every Monday at 9:00 AM
0 9 * * MON-FRI Weekdays at 9:00 AM
*/30 * * * * Every 30 minutes
0 */2 * * * Every 2 hours
0 0 1 * * 1st of every month at midnight
0 18 * * FRI Every Friday at 6:00 PM
0 9,18 * * * Every day at 9:00 AM and 6:00 PM

Special Characters

  • * - Any value (matches all)
  • , - List separator (e.g., 1,3,5 for specific values)
  • - - Range (e.g., MON-FRI for weekdays)
  • / - Step (e.g., */15 for every 15 minutes)

Natural Language Examples

You don't need to know cron syntax! Just describe what you want:

What You Say Cron Expression Generated
"Every day at 9 AM" 0 9 * * *
"Every Monday at 9 AM" 0 9 * * MON
"Weekdays at 9 AM" 0 9 * * MON-FRI
"Every 30 minutes" */30 * * * *
"Every 2 hours" 0 */2 * * *
"First day of month at midnight" 0 0 1 * *
"Every Friday at 6 PM" 0 18 * * FRI

๐Ÿ’ก Use Cases

1. Scheduled Data Aggregation

Scenario: Collect and summarize data regularly

Example:

Create a task to summarize today's sales data every day at 6:00 PM

Cron: 0 18 * * *

2. Regular Report Generation

Scenario: Generate reports on a schedule

Example:

Generate a weekly progress report every Monday at 8:00 AM

Cron: 0 8 * * MON

3. Automatic File Organization

Scenario: Organize files automatically

Example:

Organize the download folder every day at midnight

Cron: 0 0 * * *

4. Scheduled Reminders

Scenario: Get reminders for important tasks

Example:

Remind me to review my tasks every weekday at 9:00 AM

Cron: 0 9 * * MON-FRI

5. Periodic Data Backup

Scenario: Backup important data regularly

Example:

Backup my project files every Sunday at 2:00 AM

Cron: 0 2 * * SUN


๐Ÿ”ง Managing Scheduled Tasks

View Current Task

Simply ask the AI:

What scheduled tasks do I have?

or

Show me my scheduled tasks

Modify a Task

To modify an existing task:

  1. Ask the AI to delete the current task
  2. Create a new task with updated schedule

Example:

I want to change my daily reminder from 9 AM to 10 AM

The AI will:

  1. Query the existing task
  2. Ask for confirmation to replace it
  3. Create a new task with the updated schedule

Enable/Disable Task

Tasks can be enabled or disabled through the conversation interface. When disabled, the task won't execute but remains in the conversation.

Delete Task

Ask the AI to delete the task:

Delete my scheduled task

or

Remove the scheduled reminder

โš ๏ธ Important Notes

Task Limitations

  • One Task Per Conversation - Each conversation can only have one scheduled task
  • Conversation Required - Tasks must be bound to a conversation
  • Context Preservation - Tasks execute within the conversation's context

Best Practices

  1. Use Descriptive Names - Give your tasks clear, descriptive names
  2. Test First - Test your task with a short interval before setting long schedules
  3. Monitor Execution - Check the conversation to see task execution results
  4. Keep Context - Maintain relevant context in the conversation for better task execution

Troubleshooting

Task Not Executing?

  • Check if the task is enabled
  • Verify the cron expression is correct
  • Ensure AionUi is running
  • Check the conversation for error messages

Want to Change Schedule?

  • Delete the existing task
  • Create a new task with the updated schedule

Task Executing Too Often?

  • Review your cron expression
  • Make sure the interval is appropriate for your needs

๐Ÿ”— Related Resources


Need Help?

Automate your work and let AionUi handle repetitive tasks for you! โฐ

๐Ÿš€ AionUi Wiki

Welcome to the comprehensive AionUi documentation! Find everything you need to configure, use, and master AionUi.


๐Ÿ  Home


๐Ÿ“š Configuration & Usage Guides

Overview

Getting Started

Core Configuration

Support


๐ŸŽฏ Application Use Cases

Overview

Featured Use Cases


๐ŸŒ Language Switch


๐Ÿ”— Quick Links


๐Ÿค Community

Clone this wiki locally