Autobot::Cron::Formatter
Shared formatting helpers for cron schedules and relative times. Used by CronTool, TelegramChannel, and CronCmd.
Constants
HOURS_PER_DAY = 24
HTML_TIME_FORMAT = "%b %-d, %H:%M UTC"
MINUTES_PER_HOUR = 60
MS_PER_SECOND = 1000
SECONDS_PER_MINUTE = 60
TIME_FORMAT = "%Y-%m-%d %H:%M UTC"
Class methods
Markdown-formatted exec job output notification.
HTML-formatted job line for Telegram cron list.
HTML-safe last-run string with emoji status indicator.
HTML-safe schedule string with emoji prefix, suitable for Telegram and similar channels.