2
0
mirror of https://github.com/sharkdp/bat synced 2024-11-16 21:25:56 +00:00

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
commit 4e491c4594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 1 deletions

3
.gitmodules vendored
View File

@ -251,3 +251,6 @@
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