Merge pull request #2509 from sharkdp/crontab

Add crontab syntax
This commit is contained in:
David Peter
2023-03-24 22:09:32 +01:00
committed by GitHub
5 changed files with 22 additions and 1 deletions

5
.gitmodules vendored
View File

@@ -250,4 +250,7 @@
[submodule "assets/syntaxes/02_Extra/Ada"] [submodule "assets/syntaxes/02_Extra/Ada"]
path = assets/syntaxes/02_Extra/Ada path = assets/syntaxes/02_Extra/Ada
url = https://github.com/wiremoons/ada-sublime-syntax 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 - Associate `pdm.lock` with `TOML` syntax, see #2410
- `Todo.txt`: Fix highlighting of contexts and projects at beginning of done.txt, see #2411 - `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) - `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 ## Themes

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