Open Projects
v2026.04 GitHub →
/projects/publishing-scheduler
updated 2026-11-13

Publishing Scheduler

A web app for scheduling and automating Heretto CCMS publishing jobs.

Overview

Heretto Publishing Scheduler is a web application for scheduling and automating Heretto CCMS publishing jobs. Create cron-based schedules that publish DITA maps — individually or by folder — across multiple scenarios, locales, and output formats. Includes authentication (password + optional Google and Microsoft SSO), multi-tenancy, automatic retry with exponential backoff, circuit breaking, job history, and optional bundle delivery to SFTP or S3.

Designed to run as a self-hosted service alongside your existing Heretto infrastructure, with no external dependencies beyond a Heretto CCMS account.

Install

git clone https://github.com/Heretto/publishing-scheduler.git
cd publishing-scheduler
bash backend/scripts/setup.sh

setup.sh creates the Python virtualenv, installs dependencies, generates required secrets, runs database migrations, and seeds a first admin account.

Usage

bash scripts/dev.sh

Starts backend and frontend, picks free ports (backend from 8000, frontend from 4200), and opens the browser. Press Ctrl+C to stop both.

For Docker and production deployment, see the README.

What it’s good for

  • Automating scheduled publishing from Heretto CCMS across multiple scenarios, locales, and output formats
  • Keeping documentation current without manual publishing — point a schedule at a folder and new maps are picked up automatically
  • Delivering published bundles to SFTP or S3 targets after each run
  • Teams that need a full audit trail of every publishing job, with retry and circuit breaking for reliability

Core features

  • Flexible scheduling — cron-based schedules with a visual builder or raw cron expressions
  • Folder-based publishing — select an entire folder; maps added to it later are automatically included
  • Multiple scenarios and output formats — each combination runs as an independent job per schedule
  • Locale-aware publishing — source and translated locales each trigger their own publish job
  • Release pinning — pin a specific named release (snapshot) of a map instead of always using the latest
  • Bundle delivery — deliver published bundles to SFTP or S3 automatically after each run
  • Authentication & SSO — username/password plus optional Google and Microsoft (Entra ID) sign-in
  • Multi-tenancy — organizations, members, invitations, and per-org data isolation
  • Automatic retry — exponential backoff for transient failures
  • Circuit breaker — auto-disables a schedule after consecutive failures
  • Job history — full audit trail with per-publish-result detail

License

Apache License 2.0