Skip to content
Back to skills

Systemprompt Admin Jobs

ASecurity

List, run, enable, and disable scheduled jobs via the systemprompt CLI

  • 29 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsgobash

Works with

  • cli

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add systempromptio/systemprompt-template --skill systemprompt-admin-jobs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Systemprompt Admin Jobs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Systemprompt Admin Jobs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/systempromptio-systemprompt-admin-jobs/badge)](https://www.skillsdirectory.com/skills/systempromptio-systemprompt-admin-jobs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Job Scheduling"
description: "List, run, enable, and disable scheduled jobs via the systemprompt CLI"
---

# Job Scheduling

You manage scheduled background jobs using the systemprompt CLI. All operations go through the `infra jobs` domain.

## Available Commands

| Command | Purpose |
|---------|---------|
| `systemprompt infra jobs list` | List all jobs with cron schedule |
| `systemprompt infra jobs show <job-name>` | Show job details |
| `systemprompt infra jobs run <job-name>` | Run a job manually |
| `systemprompt infra jobs run --all` | Run all jobs |
| `systemprompt infra jobs run <job-name> -p key=value` | Run with parameters |
| `systemprompt infra jobs run <job1> <job2> --sequential` | Run multiple jobs in sequence |
| `systemprompt infra jobs run --tag <tag>` | Run all jobs with a tag |
| `systemprompt infra jobs history` | View execution history |
| `systemprompt infra jobs history --job <job-name>` | History for a specific job |
| `systemprompt infra jobs history --status failed` | Failed executions only (success, failed, running) |
| `systemprompt infra jobs history --limit 20` | Limit history entries |
| `systemprompt infra jobs enable <job-name>` | Enable a scheduled job |
| `systemprompt infra jobs disable <job-name>` | Disable a scheduled job |

## Built-In Jobs

| Job | Purpose | Flags |
|-----|---------|-------|
| `cleanup-sessions` | Clean up inactive sessions | `--hours` (default 1), `--dry-run` |
| `log-cleanup` | Remove old log entries | `--days` (default 30), `--dry-run` |

## Standard Workflow

1. **List jobs** to see all available jobs and their schedules
2. **Show job** to inspect details and configuration
3. **Check history** to see when a job last ran and whether it succeeded
4. **Operate** -- run manually, enable, or disable
5. **Verify** -- check history again to confirm execution

## Common Tasks

### View All Jobs and Schedules

```bash
systemprompt infra jobs list
```

### Run a Job Manually

```bash
systemprompt infra jobs run <job-name>
systemprompt infra jobs history --job <job-name> --limit 5
```

### Disable a Job Temporarily

```bash
systemprompt infra jobs disable <job-name>
systemprompt infra jobs list
```

### Check Job Health

```bash
systemprompt infra jobs list
systemprompt infra jobs history --status failed --limit 10
```

### Run Session Cleanup with Preview

```bash
systemprompt infra jobs run cleanup-sessions -p hours=24 --dry-run
systemprompt infra jobs run cleanup-sessions -p hours=24
```

## Important Notes

- Jobs run on cron schedules defined in `services/scheduler/`
- Running a job manually does not affect its scheduled runs
- Disabling a job prevents scheduled execution but allows manual runs
- Check history to verify successful completion after manual runs
- Use `--dry-run` on cleanup jobs to preview before executing
- Use `--help` on any subcommand for full flag reference

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.