Skip to content

Scheduler artifacts do not say which platform they belong to #21

Description

@jbrahy

Noted while closing #3. Three ways to schedule cmd/recompute now live in the repo, and nothing in the filenames says which platform each is for:

  • scripts/com.brahy.hushield.recompute.plist — macOS launchd only; cannot run on the Linux host
  • scripts/recompute.cron — a crontab line with a placeholder /path/to/recompute
  • deploy/hushield-recompute.{service,timer}systemd, and what production actually uses

Someone landing in scripts/ reasonably assumes the plist or the cron file is the production mechanism. Neither is. The launchd plist in particular is dead weight on the deploy host.

What to do

Small and mostly editorial, but it removes a real trip hazard:

  • Move or rename so the platform is obvious — e.g. scripts/macos/, or a README.md in scripts/ mapping artifact to platform to status
  • Replace the /path/to/recompute placeholder with something real or clearly marked as a template
  • Consider whether the cron file earns its place now that systemd is the production path

Also worth capturing somewhere durable, because it cost time to find: systemctl enable on a timer does not start it. Enabling only takes effect at the next boot, so the timer sat enabled but inactive until explicitly started. systemctl enable --now is what you want. That belongs in deploy/DEPLOY.md.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:opsDeploy, CI, infrastructure, schedulinggood-first-issueSmall, well-scoped, no deep system knowledge required. Start here.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions