How abdikadirjerry/cron-schedule-analyzer works
CronPulse is a stateless PHP cron-expression simulator and multi-job collision auditor. A browser submits an expression or job manifest to the front controller, which parses and simulates schedules, then returns an HTML view or JSON API response. The UI has simulator, collision-auditor, and JSON-preview tabs. The parser and simulator are excerpted; the README documents the API and capabilities. The graph does not assume unshown details of the autoloader or stylesheet behavior beyond what the excerpts show.
Main entry points: index.php HTTP front controller · ViewShell.php HTML shell and escaping · ScheduleSimulator.php Next-run simulator · ViewTabs.php Simulator view
Components 12
Request handling
- HTTP front controller
public/index.php - Class autoloader
src/autoload.php - Schedule JSON endpoint
public/index.php
Schedule analysis
- Cron field parser
src/CronParser.php - Next-run simulator
src/ScheduleSimulator.php - Collision auditor
src/ScheduleSimulator.php
User interface
- Simulator view
src/ViewTabs.php - Collision view
src/ViewTabs.php - JSON preview view
src/ViewTabs.php - HTML shell and escaping
src/ViewShell.php - Scheduler styles
public/assets/scheduler.css
Other components
- Browser user
Connections 18
- Browser user → HTTP front controller: submits requests
README.md - HTTP front controller → Class autoloader: loads classes
public/index.php - HTTP front controller → Cron field parser: parses expression
public/index.php - HTTP front controller → Next-run simulator: projects runs
public/index.php - HTTP front controller → Collision auditor: audits manifest
public/index.php - Next-run simulator → Cron field parser: parses expression
src/ScheduleSimulator.php - Collision auditor → Next-run simulator: projects job runs
src/ScheduleSimulator.php - HTTP front controller → Schedule JSON endpoint: routes API requests
public/index.php - Schedule JSON endpoint → Browser user: returns JSON
README.md - HTTP front controller → Simulator view: renders simulator
public/index.php - HTTP front controller → Collision view: renders collisions
public/index.php - HTTP front controller → JSON preview view: renders JSON preview
public/index.php - Simulator view → HTML shell and escaping: escapes values
src/ViewTabs.php - Collision view → HTML shell and escaping: escapes values
src/ViewTabs.php - JSON preview view → HTML shell and escaping: escapes payload
src/ViewTabs.php - HTTP front controller → HTML shell and escaping: renders page
public/index.php - HTML shell and escaping → Scheduler styles: links stylesheet
src/ViewShell.php - HTTP front controller → Scheduler styles: serves stylesheet
public/index.php