Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

DeepSeek Harness Automated Tasks

DeepSeek Harness Automated Tasks

Want the Agent to regularly organize records and generate weekly reports every day, or remind you to check a deployment in half an hour? DeepSeek Harness's **Automated Tasks (Schedule)** is made for this: create a reminder with a single sentence in the conversation, and when due, the host automatically resumes the corresponding session and delivers the task into it.

This chapter introduces the entry points of Automated Tasks (Schedule), supported scheduling rules, delivery semantics, and usage boundaries.

Creating the first reminder

Simply make the request in the session; the model will call schedule_create to complete the creation.

每天 23:00 提醒我查看天气。

The following task is then automatically created:

After creation, open the Automated Tasks page, select the reminder you just created, and check that the frequency column shows a Daily rule and the required time zone, rather than Once.

Times in natural language are interpreted by default in the time zone reported by the browser,explicitly specifying a time zonecan avoid ambiguity, especially in cross-time-zone collaboration or when daylight saving time matters.


Capability entry points and prerequisites

The published Web profile comes with the host Schedule service and the Automated Tasks page; the desktop version provides the same entry point.

Complete the model configuration before use--creating a reminder essentially has the model call a tool; without an available model it cannot be created.

For configuration methods, seeModel Configuration; for first launch and workspace setup, seeFirst use。

Runtime environment Scheduled task capability
Web profile Host Schedule service + Automated Tasks page, ready out of the box
Standard / PTC / Creative mode Declaration schedule_create、schedule_list、schedule_update、schedule_delete Four tools, plus a clock context that gives the model the current time and browser time zone
Minimal mode Without declaring the tools and clock context, reminders cannot be created
Subagent (subagent) The delegation line has denied these four tools; sub-agents cannot see or call them

Why include the clock context: the model itself doesn't know what time it is now.

The preset gives the model the current time and time zone so it can convert 11 p.m. every day into the correct rule.


Supported scheduling rules

Scheduled tasks support six rule types, covering everything from one-time delays to cron expressions.

Rule types Description Example
One-time delay (After) A positive integer number of seconds, counted from the moment of creation Remind me in 30 minutes
Absolute time (At) An absolute date and time, optionally with an IANA time zone Remind me at 2026-11-01 09:00
Fixed interval (Every) A fixed interval of at least 1 minute, triggered by elapsed time Check the logs every 2 hours
Daily Daily local time with an IANA time zone Every day at Asia/Shanghai 23:00
Weekly With an IANA time zone + ISO weekday (Monday 1 through Sunday 7) Generate a weekly report every Friday at 18:00
cron A five-field expression with an explicit IANA time zone, saved in normalized form Stand-up meeting reminder on weekdays at 09:30

Daylight saving time and abnormal times have clear rules: non-existent daily local times (such as 02:30 skipped during a DST switch) are skipped; overlapping times choose the earlier occurrence of the day.

Absolute time requests directly reject non-existent local times, and likewise take the earlier moment when overlapping.


Managing tasks: view, modify, and delete

Open the Automated Tasks page from the sidebar to view all reminders; no activation is needed.

The page supports searching by task name, instruction, or owning session id, and filtering by status: All / Enabled / Ended.

Click a specific task to view its rules, associated session, and delete the task:

Modifying an active task

Select an active task and open Rules to modify its name, instruction, and run time; changes are first saved as a local draft and submitted all at once by clicking Save Changes.

The model-side schedule_update is an equivalent entry point: it modifies the reminder in place, preserving the task id, original conversation, and saved delivery records.

The Repeat menu offers weekly, Monday-to-Friday, daily, every N hours/minutes/seconds, once, and custom cron; normalized-equivalent rules do not reset the timing--for example, saving an Every interval to the same value does not restart the count.

Deleting a task

Select delete and confirm to stop future deliveries and remove the task from the list, including tasks that have not run.

Deletion also removes all saved history for that task, anddoes not delete the original conversation, nor retract messages already in the queue.


Time and delivery semantics

When scheduled tasks trigger and what happens when they are missed, the official semantics can be summarized in a few points:

Scenario Behavior
Due while the host is running Resume the original Session and queue a follow-up, without interrupting current work
After a host restart Backfill overdue one-time reminders, or the most recently missed occurrence of each recurring task
Host shut down Scheduling stops until the host starts again
Multiple due tasks in the same Session can share a single message delivery
Fixed interval changes Before the change it aligns with the creation time; after the change it aligns with the accepted save time

Delivery is not guaranteed exactly once: a crash after the inbox is persisted, or a task write failure, may leave delivered messages unrecorded in the send log and cause duplicate delivery.

For scenarios requiring high precision (such as external notifications), treat automated tasks as a trigger, and have the Agent check before acting as instructed.


Delivery history and retention policy

Saved records are automatically trimmed on append-confirmation: the host keeps records whose confirmation time falls within deliveryHistoryDays the window, and keeps at most the latest deliveryHistoryRecords records.

The most recent receipt is always kept; when trimming occurs, the page marks earlier records as unavailable.

History is kept in memory, and each confirmation rewrites the complete task row; pagination only limits the number of items returned at a time, not the total retained history.

A task with no saved history can only show the existing most recent receipt; missing earlier records cannot be recovered, nor are missing instruction snapshots replaced with the current instruction.


Boundaries and unsupported operations

Automated tasks have several clear unsupported items; keep them in mind before use:

Unsupported operations Description and alternatives
Pausing a task No pause switch; delete when not needed, recreate when needed
Creating a new Session on every run Delivery always returns to the original conversation; for a fresh context, instruct the Agent to spin up a sub-agent itself
Transferring workflows across sessions Modification can only be in place (preserving the id and original conversation); a task cannot be transferred to another session
Reminders whose automatic scheduling exists only in old logs Reminders recorded only in old Session logs are not scheduled automatically; simply recreate any reminders you still need

In short: automated tasks are session-level reminders--a task is bound to the session that created it and delivers the message back to that session when due.

It is not a replacement for a cron system, has no external notification channel, and cannot guarantee successful execution.


Common questions

Symptom Cause and handling
The model says it cannot create a reminder The current preset is minimal mode, or the request was sent to a delegated sub-agent; switch to Standard / PTC / Creative mode and retry in the main session
The created time is wrong Natural language time is interpreted in the browser time zone; explicitly specify an IANA time zone and verify the frequency on the page after creation
The task disappeared from the conversation directory A one-time task becomes not-running after delivery; the directory and schedule_list only show active tasks--filter by Not running to find it
The run record shows delivered but no result is seen The record only confirms the message entered the inbox, not that the model finished the work; open the original conversation to see the actual execution
No reminder received after restart Scheduling stops while the host is down; after restart it only backfills overdue one-time reminders or the most recently missed occurrence of a recurring task
Earlier run records are gone Trimmed for exceeding the deliveryHistoryDays window or the deliveryHistoryRecords limit; the most recent receipt is always kept