Kimaki’s task management commands let you inspect and control scheduled tasks created with theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/remorses/kimaki/llms.txt
Use this file to discover all available pages before exploring further.
--send-at flag.
Commands
List tasks
View all scheduled tasks:Delete a task
Cancel a scheduled task by ID:Listing tasks
Thetask list command shows all scheduled tasks with their details:
Output fields
Unique task identifier. Use this with
task delete.When the task was scheduled.
- One-time: Shows the UTC timestamp
- Recurring: Shows cron expression, timezone, and next run time
Discord channel ID (for tasks that create new threads).
Discord thread ID (for tasks that send to existing threads).
The message that will be sent when the task runs.
Relative time until the task executes (e.g., “6d 8h”, “18h”, “30m”).
Deleting tasks
Cancel a scheduled task before it runs:Examples
Check upcoming tasks
Cancel a one-time task
Cancel a recurring task
Reschedule by deleting and recreating
Task lifecycle
- Creation: Tasks are created with
kimaki send --send-at - Storage: Stored in SQLite database at
~/.kimaki/discord-sessions.db - Scheduling: Task runner checks every minute for due tasks
- Execution: When due, the task creates a Discord message
- Recurring tasks: Next run time is calculated and task is rescheduled
- One-time tasks: Deleted from database after execution
Recurring tasks (cron expressions) never auto-delete. They run indefinitely until you delete them manually.
Task storage
Tasks are stored in thescheduled_tasks table in the database:
Troubleshooting
Task list is empty but I scheduled tasks
Task list is empty but I scheduled tasks
Check that you’re using the correct
--data-dir. Each Kimaki instance has its own database and task list.Recurring task didn't run at expected time
Recurring task didn't run at expected time
Cron expressions use your local timezone, not UTC. Verify the timezone with
task list output.Task ran but bot didn't respond
Task ran but bot didn't respond
Tasks create Discord messages. Your Kimaki bot process must be running to detect and handle these messages.
Can't delete a task
Can't delete a task
Ensure you’re using the correct task ID from
task list. IDs are database-specific and may differ between Kimaki instances.Best practices
For long-running Kimaki instances, periodically review scheduled tasks to remove outdated or unused recurring tasks.