Skip to content

Scheduled Tasks ​

Alma can run a task later or on a schedule: a reminder in twenty minutes, a news digest every morning at 9, a check on your inbox every two hours. Each run is a full agent turn with your tools and skills.

Create one ​

Just ask in a chat:

  • "Remind me about the meeting in 20 minutes"
  • "Every weekday at 9am, summarize today's AI news"
  • "Check my email every 2 hours and tell me if anything is urgent"

Alma sets up the task and tells you when it will run. There are three kinds of schedule:

KindExampleRuns
Oncein 20 minutes, or at a given timeone time
Intervalevery 2 hoursrepeatedly, at a fixed interval
Cron0 9 * * 1-5on a calendar schedule, in your local time zone

Where results go ​

  • A reminder you ask for in a chat comes back into that chat.
  • Other tasks run in a new conversation of their own each time, so they don't clutter the one you're in.
  • If you talk to Alma through a channel, a task can deliver its result to Telegram, Discord or WeChat instead.

Manage them ​

Settings › Scheduled Tasks lists every task with its schedule, when it last ran and when it runs next. Open one to see its recent runs, jump to the conversation a run wrote, Run now, or delete it. Deleting a task keeps the conversations it already wrote.

You can also just ask: "pause the news digest", "move my reminder to 10am", "what's scheduled?"

Time limit ​

A run stops after 10 minutes by default and is recorded as failed. For long jobs (deep research, builds), ask for a longer limit when you create the task, for example "give it up to an hour". A run that fails or times out sends a failure notice to wherever the task delivers.

From the command line ​

Under the hood the agent manages tasks with the alma cron command. For reference:

bash
alma cron list
alma cron add "AI news" cron "0 9 * * *" --prompt "Summarize today's AI news"
alma cron run <job-id>
alma cron history <job-id>
alma cron disable <job-id>
alma cron remove <job-id>

Alma Server

Scheduled tasks need Alma to be running. A laptop that is asleep or has Alma closed can't run them. For tasks that must run around the clock, use Alma Server.