/SublimeSyntax-Crontab

A Plugin for Crontab Highlighting in Sublime Text 3

Primary LanguagePythonMIT LicenseMIT

Crontab for Sublime Text 3

GitHub license GitHub release Package Control

Example screenshot

Features

  • Syntax highlighting for crontab files (default *.tab, *.crontab and cron.d)
  • Color-coded underline for cron expressions.
  • Completions for cron expressions and enums like month names.
  • Hover on a cron expression for an explanation.
  • Shell syntax highlighting for cron commands
  • Comment and uncommenting lines using Ctrl+/ or Cmd+/.

Installation

  1. Run “Package Control: Install Package” command
  2. Find and Install the Crontab plugin.
  3. Restart Sublime Text.

Todos

  1. Alert on unescaped usage of % in crontab line.
  2. Provide a template file of things to do when creating a crontab file.
  3. Additional "system" crontab syntax with user/group support.
  4. Options to change or disable rainbow underlines.

Credits/Acknowledgements

  1. clarkewd's original Crontab Highlighting Package which was inherited from kevinior and WheresWardy.
  2. Varun Nayyar and his adaptation of the package to .sublime-syntax.
  3. Adam Schubert and his cron_descriptor package.