Scheduled tasks system: systemd timers + Claude CLI as cowork alternative #2
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/claude-memory#2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Build a scheduled tasks system using systemd timers and
claude -p(headless mode) to replicate Claude cowork's scheduled tasks feature on unsupported platforms (Nobara/Fedora).Motivation
Claude cowork's scheduled tasks feature is not available on Nobara. The core functionality — running Claude on a schedule with memory of prior runs — can be recreated with existing tools:
claude -p "prompt"for headless CLI executionPersistent=true)Proposed Architecture
Task directory structure
Task config (
task.yaml)Components needed
Task runner wrapper — Shell script or Python CLI that:
task.yamlclaude -pwith the right flags (--cwd,--allowedTools,--model)logs/Task installer — Generates systemd timer + service units from
task.yaml:~/.config/systemd/user/claude-task-{name}.service~/.config/systemd/user/claude-task-{name}.timersystemctl --user enable --now claude-task-{name}.timerTask manager CLI — Simple interface for:
claude-tasks list— show all tasks, schedules, last run statusclaude-tasks add <name>— scaffold a new task directoryclaude-tasks run <name>— manual one-off executionclaude-tasks logs <name>— tail recent outputclaude-tasks install/uninstall <name>— manage systemd unitsMemory persistence (depends on #1)
state.mdfor structured rolling stategraph: "scheduled-tasks"for higher-level insightsserver-health,backup-check) for namespacing within the graphKey design decisions to make
--allowedToolscarefullyRelated