Add crontab syntax

This commit is contained in:
Keith Hall 2023-03-17 22:48:12 +02:00
parent d20405b975
commit b65a02681a
5 changed files with 22 additions and 1 deletions

5
.gitmodules vendored
View File

@ -250,4 +250,7 @@
[submodule "assets/syntaxes/02_Extra/Ada"]
path = assets/syntaxes/02_Extra/Ada
url = https://github.com/wiremoons/ada-sublime-syntax
[submodule "assets/syntaxes/02_Extra/Crontab"]
path = assets/syntaxes/02_Extra/Crontab
url = https://github.com/michaelblyons/SublimeSyntax-Crontab

View File

@ -27,6 +27,7 @@
- Associate `pdm.lock` with `TOML` syntax, see #2410
- `Todo.txt`: Fix highlighting of contexts and projects at beginning of done.txt, see #2411
- `cmd-help`: overhaul scope names (colors) to improve theme support; misc syntax improvements. See #2419 (@victor-gp)
- Added support for Crontab, see #2509 (@keith-hall)
## Themes

1
assets/syntaxes/02_Extra/Crontab vendored Submodule

@ -0,0 +1 @@
Subproject commit 54f1fa7ff0c9d18aea3790555dba6e533ce3749b

View File

@ -0,0 +1,8 @@
0 2 * * * /bin/sh backup.sh
*/10 * * * * /home/maverick/check-disk-space
0 5,17 * * * /scripts/script.sh
0 2 * * sun [ $(date +%d) -le 07 ] && /script/script.sh
@daily /scripts/script.sh
@reboot /scripts/script.sh
MAIL=bob

View File

@ -0,0 +1,8 @@
0 2 * * * /bin/sh backup.sh
*/10 * * * * /home/maverick/check-disk-space
0 5,17 * * * /scripts/script.sh
0 2 * * sun [ $(date +%d) -le 07 ] && /script/script.sh
@daily /scripts/script.sh
@reboot /scripts/script.sh
MAIL=bob