Skip to content

Commit 4e491c4

Browse files
authored
Merge pull request #2509 from sharkdp/crontab
Add crontab syntax
2 parents 1a142a8 + b65a026 commit 4e491c4

5 files changed

Lines changed: 22 additions & 1 deletion

File tree

.gitmodules

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,4 +250,7 @@
250250
[submodule "assets/syntaxes/02_Extra/Ada"]
251251
path = assets/syntaxes/02_Extra/Ada
252252
url = https://github.com/wiremoons/ada-sublime-syntax
253-
253+
254+
[submodule "assets/syntaxes/02_Extra/Crontab"]
255+
path = assets/syntaxes/02_Extra/Crontab
256+
url = https://github.com/michaelblyons/SublimeSyntax-Crontab

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
- Associate `pdm.lock` with `TOML` syntax, see #2410
2828
- `Todo.txt`: Fix highlighting of contexts and projects at beginning of done.txt, see #2411
2929
- `cmd-help`: overhaul scope names (colors) to improve theme support; misc syntax improvements. See #2419 (@victor-gp)
30+
- Added support for Crontab, see #2509 (@keith-hall)
3031

3132
## Themes
3233

assets/syntaxes/02_Extra/Crontab

Submodule Crontab added at 54f1fa7
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
0 2 * * * /bin/sh backup.sh
2+
*/10 * * * * /home/maverick/check-disk-space
3+
0 5,17 * * * /scripts/script.sh
4+
0 2 * * sun [ $(date +%d) -le 07 ] && /script/script.sh
5+
@daily /scripts/script.sh
6+
@reboot /scripts/script.sh
7+
8+
MAIL=bob
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
0 2 * * * /bin/sh backup.sh
2+
*/10 * * * * /home/maverick/check-disk-space
3+
0 5,17 * * * /scripts/script.sh
4+
0 2 * * sun [ $(date +%d) -le 07 ] && /script/script.sh
5+
@daily /scripts/script.sh
6+
@reboot /scripts/script.sh
7+
8+
MAIL=bob

0 commit comments

Comments
 (0)