Skip to content

About

CronCompose – An intuitive web tool for crafting and validating cron job schedules. Build, preview, and troubleshoot crontab entries with ease. Perfect for sysadmins and developers needing a quick, reliable way to set up scheduled tasks. πŸ•’βœ¨

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

8 Commits

Folders and files

Repository files navigation

πŸ•’ CronCompose

CronCompose is a browser-only Linux cron schedule builder, validator and crontab formatter. No backend, external runtime dependencies, command execution or telemetry.

Website: https://cron.git.safesploit.com/ (existing configured domain; this candidate is not deployed)

Features

  • Five-field Cronie-style schedule editor, live explanation and field-specific validation.
  • Right-aligned, fixed-position interactive weekdays, regular presets and special strings. Consecutive selected days are summarised as ranges (e.g. Mon–Wed, Fri). The live explanation sits alongside the selector on wide editors.
  • Optional Extended Scheduling: first, second, third, fourth or last weekday of a month and the last calendar day. Uses a weekly/daily trigger plus a GNU date/POSIX shell condition. All five fields remain visible; calendar fields are locked and only the clickable weekday selector is hidden.
  • User/system crontab formatting, output redirection and simple/detailed comments.
  • Local theme, density and expanded-section preferences; no command or username persistence.

Local development

Requires Node.js 22+, Python 3 for the local HTTP server, and GNU Coreutils date for shell integration tests. On macOS install GNU Coreutils with brew install coreutils (gdate --version to verify). On Ubuntu 25.10 and later, the default date can be Rust uutils; the GNU version is gnudate (provided by gnu-coreutils). Check gnudate --version. Other GNU/Linux distributions commonly provide GNU date directly. There are no npm dependencies. The test harness detects date, gdate or gnudate on PATH, or accepts an explicit absolute GNU_DATE override. Missing or invalid GNU date fails the tests; it does not skip them. Generated extended schedules still target GNU/Linux.

npm ci --ignore-scripts --no-audit --no-fund
npm run check
npm run serve

Open http://127.0.0.1:8000/. ES modules require HTTP(S), not opening index.html directly.

Run npm run test:unit or npm run test:extended separately. See testing.


Scheduling notes

This is a bounded subset of traditional five-field Cronie syntax, not a universal cron parser. Named month/day abbreviations, lists, ranges and steps are supported; Quartz, seconds, year fields, randomisation and L, W, # extensions are not. Syntactic validity does not guarantee a calendar match, command success or safety.

Extended conditions require /bin/sh, GNU date in a trusted PATH, and matching schedule/command timezones. Percent signs in extended user commands are rejected; place these commands in a separate script. On Ubuntu hosts using uutils, ensure the cron job resolves date to GNU Coreutils (for example, adapt the guard to explicitly invoke the verified absolute gnudate executable and test it before installation). The test resolver does not alter the generated command or the target host. The generated expression alone is only the trigger. Copy the complete crontab line.

See Cronie crontab(5).


Deployment

The single CI/Pages workflow tests the exact revision, scans it, packages public/ and deploys only from main after required jobs pass. Configure Settings β†’ Pages β†’ Build and deployment β†’ Source β†’ GitHub Actions and retain cron.git.safesploit.com in Pages custom-domain settings. The CNAME file is retained but is not sufficient to configure a custom domain with an Actions deployment.

Before enabling production publishing, review the documented Playwright exception and obtain the project-owner T2 release approval. See operations, security and architecture.


Licence

The original repository contains an empty LICENSE; the owner must select a licence. No licence terms have been invented.

About

CronCompose – An intuitive web tool for crafting and validating cron job schedules. Build, preview, and troubleshoot crontab entries with ease. Perfect for sysadmins and developers needing a quick, reliable way to set up scheduled tasks. πŸ•’βœ¨

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages