backupchecks/docs
Ivo Oskamp 60c7e89dc2 Add cleanup orphaned jobs maintenance option
Added new maintenance option in Settings → Maintenance to delete
jobs that are no longer linked to an existing customer (customer_id
is NULL or customer doesn't exist).

Features:
- Finds all jobs without valid customer link
- Deletes jobs, runs, and related emails permanently
- Cleans up auxiliary tables (ticket_job_runs, remark_job_runs,
  scopes, overrides)
- Provides feedback on deleted items count
- Logs action to audit log

Use case: When customers are removed, their jobs and emails should
be completely removed from the database.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-09 13:46:07 +01:00
..
architecture.md Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
autotask_rest_api.md Restore Autotask PSA integration 2026-02-05 14:43:44 +01:00
backupchecks_autotask_integration_functional_design_living_document.md Restore Autotask PSA integration 2026-02-05 14:43:44 +01:00
backupchecks_autotask_integration_implementation_breakdown.md Restore Autotask PSA integration 2026-02-05 14:43:44 +01:00
backupchecks_autotask_integration_phase_2_implementation.md Restore Autotask PSA integration 2026-02-05 14:43:44 +01:00
changelog-claude.md Add cleanup orphaned jobs maintenance option 2026-02-09 13:46:07 +01:00
changelog.md Add v0.1.24 to changelog for ticket description fix 2026-02-09 13:02:02 +01:00
manifest.md Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
migrations.md Auto-commit local changes before build (2026-01-03 13:59:54) 2026-01-03 13:59:54 +01:00
reporting-proposal.md Auto-commit local changes before build (2026-01-03 15:17:01) 2026-01-03 15:17:01 +01:00