-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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.
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.
- 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
- Open AionUi application
- Create a new conversation or use an existing one
- Make sure the conversation has a working directory associated (optional but recommended)
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
The AI will:
- Query existing tasks in the conversation
- If a task exists, ask if you want to replace it
- Create the scheduled task with the appropriate cron expression
- Confirm the task details
When you request a scheduled task, the AI assistant follows this workflow:
- Query Existing Tasks - Checks if the conversation already has a scheduled task
- Ask for Confirmation - If a task exists, asks whether to replace it or keep it
- Create Task - Generates the cron expression and creates the task
- Confirm Details - Shows the task name, schedule, and message
- 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 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)
โ โ โ โ โ
* * * * *
| 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 |
-
*- Any value (matches all) -
,- List separator (e.g.,1,3,5for specific values) -
-- Range (e.g.,MON-FRIfor weekdays) -
/- Step (e.g.,*/15for every 15 minutes)
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 |
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 * * *
Scenario: Generate reports on a schedule
Example:
Generate a weekly progress report every Monday at 8:00 AM
Cron: 0 8 * * MON
Scenario: Organize files automatically
Example:
Organize the download folder every day at midnight
Cron: 0 0 * * *
Scenario: Get reminders for important tasks
Example:
Remind me to review my tasks every weekday at 9:00 AM
Cron: 0 9 * * MON-FRI
Scenario: Backup important data regularly
Example:
Backup my project files every Sunday at 2:00 AM
Cron: 0 2 * * SUN
Simply ask the AI:
What scheduled tasks do I have?
or
Show me my scheduled tasks
To modify an existing task:
- Ask the AI to delete the current task
- Create a new task with updated schedule
Example:
I want to change my daily reminder from 9 AM to 10 AM
The AI will:
- Query the existing task
- Ask for confirmation to replace it
- Create a new task with the updated schedule
Tasks can be enabled or disabled through the conversation interface. When disabled, the task won't execute but remains in the conversation.
Ask the AI to delete the task:
Delete my scheduled task
or
Remove the scheduled reminder
- 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
- Use Descriptive Names - Give your tasks clear, descriptive names
- Test First - Test your task with a short interval before setting long schedules
- Monitor Execution - Check the conversation to see task execution results
- Keep Context - Maintain relevant context in the conversation for better task execution
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
- ๐ค Assistant Configuration Guide - Learn about assistants and skills
- ๐ File Management - File organization use cases
- โ FAQ - Common questions and troubleshooting
Need Help?
- ๐ Report Issues
- ๐ฌ Community Discussions
- ๐ Complete Documentation
Automate your work and let AionUi handle repetitive tasks for you! โฐ
Welcome to the comprehensive AionUi documentation! Find everything you need to configure, use, and master AionUi.
- โ๏ธ LLM Configuration
- ๐ค Multi-Agent Mode Setup
- ๐จ Image Generation Setup
- ๐ MCP Configuration
- ๐ป WebUI Configuration(by Commond Line)
- ๐ AionUi Remote Internet Access Tutorial
- ๐ Remote Agent Setup
- ๐ค DingTalk Bot Setup
- โฐ Scheduled Tasks Guide
- ๐ ๏ธ AI Assistants & Skills Ecosystem
- ๐ Preview Panel Guide
- ๐ File Management
- ๐ Excel Smart Processing
- ๐ Smart Information Gathering
- ๐ Local Knowledge Base Application
- โ AI Learning Assistant
- โ๏ธ Writing & Content Creation
- ๐ Getting Started
- โ๏ธ LLM Configuration
- ๐ค Multi-Agent Mode Setup
- ๐ Remote Agent Setup
- ๐จ Image Generation
- ๐ MCP Configuration
- ๐ WebUI Configuration
- โฐ Scheduled Tasks
- ๐ ๏ธ AI Assistants & Skills
- ๐ Preview Panel
- โ FAQ