> ## Documentation Index
> Fetch the complete documentation index at: https://docs.selftune.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Run SelfTune in the background

> Choose between the persistent local service and scheduled skill-health work.

SelfTune has two different background jobs. The local service keeps the
dashboard runtime available. Scheduling runs periodic observation and health
work. Enable only the one you need.

## Persistent local service

```bash theme={null}
selftune service install
selftune service status --json
```

The service runs under your operating system's user-level supervisor. It does
not require a Cloud connection. Use `service uninstall` to remove the
supervisor definition while preserving local SelfTune data.

## Scheduled health work

```bash theme={null}
selftune cron setup
```

Before enabling a schedule, review its frequency, commands, model usage, write
behavior, and whether any remote destination is configured. Start with
observation and reporting before allowing automatic skill changes.

## Ask your agent

```text theme={null}
Inspect my SelfTune installation and recommend whether I need the persistent
local service, scheduled health work, both, or neither. Show me the exact
supervisor or schedule definition and its effects. Do not install it until I
approve. Keep remote upload and automatic skill changes disabled.
```

## Success criteria

* The owner, executable, state directory, and schedule are explicit.
* Restarting the machine does not create duplicate runtimes.
* Status and health checks can distinguish registered from actually healthy.
* Disabling the background job preserves user data unless deletion is requested.

Distinguish service supervision from scheduled workflow execution. Inspect
existing ownership before installing either. Show the exact command and OS
definition, then request approval. Default to local observation only; do not
enable remote upload, automatic mutation, boot-level elevation, or credential
changes without separate consent.
