# jobbyphp/jobby

Manage all your cron jobs without modifying crontab. Handles locking, logging, error emails, and more.

Repository: https://github.com/jobbyphp/jobby
Canonical: https://ross.abutalabs.com/products/jobby
Homepage: https://packagist.org/packages/hellogerard/jobby
Language: PHP
License: MIT
License Family: permissive
Last push: 2024-03-29T11:33:54+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5081, "days_push": 887, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1048, forks 150 (observed 2026-08-28T04:03:22.522057+00:00)

## What it is
Jobby is a PHP library that manages cron jobs from a single master crontab entry, letting you define scheduled tasks in PHP code instead of editing crontab. It handles locking to prevent overlapping runs, logging of stdout/stderr, error notification emails, per-hostname restrictions, and running jobs as other users.

## Use cases
- schedule background tasks in PHP without editing crontab
- prevent duplicate cron job runs with locking
- get email alerts when a cron job fails
- run scheduled jobs only on specific servers in a web farm
- manage all cron schedules from version-controlled PHP code
- capture cron job output to log files

## When to choose
- you have a PHP application and want cron schedules defined in code
- you need locking, logging, and failure emails for cron jobs out of the box
- you want one master crontab entry managing many jobs

## When to avoid
- you need a distributed job scheduler across multiple machines with a central queue
- your stack is not PHP
- you need long-running daemon-style workers rather than periodic cron tasks

## Facets
- artifact type: library
- maturity: maintenance
- function: scheduling, workflow-automation, logging
- domain: developer-tools, backend
- platform: php, cli
- tags: cron, cron-jobs, job-scheduler, php, background-jobs, locking, error-emails, automation, linux, macos

## Member repositories
- jobbyphp/jobby (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:22.522057+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:00:44.901215+00:00, confidence not recorded.
  - readme: https://github.com/jobbyphp/jobby (fetched 2026-08-28T04:03:22.522057+00:00, sha d659a2e34f21)
  - homepage: https://packagist.org/packages/hellogerard/jobby (fetched 2026-08-29T13:02:12.051673+00:00, sha 0d5b63b6e6dd)
  - site_page: https://packagist.org/about (fetched 2026-08-29T13:02:12.062908+00:00, sha 29af46773a45)
  - site_page: https://packagist.org/packages/hellogerard/jobby/stats (fetched 2026-08-29T13:02:12.060964+00:00, sha 76f05fb05aba)
- Data as of 2026-08-30T08:39:29.467469+00:00.
