• INVENTORY
  • CONTROL
  • CLEANUP
  • HUMAN

How to manage cron schedules with your AI

Connect QStash to your AI client to handle background task timing without touching a dashboard. You talk, and your agent handles the scheduling logic.

Ask AI about this page

Short answer

How can I manage my cron schedules using AI?

You can list, pause, resume, or delete existing schedules by simply asking your agent. This gives you direct control over your background task timing through a chat interface. You get full visibility and control over your recurring tasks.

Where every action lands.

Control your task timing.

Your agent translates your requests into specific QStash operations.

INVENTORY

View active schedules

The AI pulls a full list of your current recurring tasks. You see exactly what is running and when.

CONTROL

Pause or resume tasks

Stop a schedule temporarily or turn it back on. The AI handles the state changes for you.

CLEANUP

Remove old schedules

Delete specific recurring tasks that are no longer needed. Your agent wipes them from the queue.

HUMAN

Manual intervention

You decide which schedules are safe to delete or pause. The AI only acts on the specific tasks you name.

The workflow

What your AI does when a request arrives.

Your agent acts as the bridge between your chat and the QStash queue.

  1. Audit the queue

    The agent looks up all currently active recurring tasks to understand your environment.

    list_schedules
  2. Inspect a specific task

    If you ask about a particular job, the agent pulls its specific configuration and timing details.

    get_schedule
  3. Modify task state

    The agent changes whether a schedule is active or suspended based on your command.

    pause_scheduleresume_schedule
  4. Execute removal

    The agent identifies the target schedule and removes it from the system entirely.

    delete_schedule

Try it

Copy these to start.

Use these prompts to begin managing your tasks.

Starting points

These are basic commands. Swap out the specific task names or IDs with your actual QStash schedule identifiers.

Upstash QStash Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_qe2toOwnITMr2o4qUgpUtwgjBB41l4nVpwOjAbvw/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Upstash QStash capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "qstash-serverless-message-queue-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_qe2toOwnITMr2o4qUgpUtwgjBB41l4nVpwOjAbvw/mcp"
    }
  }
}
Copy into chat04
  • List all my current cron schedules.

  • Pause the 'daily-report-sync' schedule.

  • Show me the details for the 'cleanup-logs' task.

  • Delete the recurring schedule named 'temp-test-job'.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect QStash once, then ask.

One connection links your agent to your queue. Your credentials stay encrypted and secure, and you can start managing tasks immediately.

Connect QStash to your AI

FAQ

How the task behaves.

  • 01

    Can the AI create new cron schedules?

    No. This connector is designed for managing existing schedules through listing, pausing, resuming, or deleting them.

  • 02

    Will the AI delete my schedules without asking?

    No. The AI only executes a deletion when you explicitly tell it to remove a specific schedule.

  • 03

    How does the AI know which schedule to pause?

    The AI uses the names or IDs you provide to identify the correct schedule in your QStash account.

  • 04

    Can I see the contents of the messages being sent by the schedules?

    No. This connector manages the timing and state of the schedules, not the payload of the messages themselves.

  • 05

    Does the AI handle the actual execution of the tasks?

    No. The AI manages the schedules in QStash; the actual task execution is handled by your existing infrastructure.

  • More questions about QStash? The Connector page answers them. See everything the QStash Connector can do

Connect Upstash QStash to Claude, Cursor, ChatGPT & more