Marten Kante
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
5 deletions
-
.local/bin/cron/crontog
|
|
|
@ -1,5 +0,0 @@ |
|
|
|
#!/bin/sh |
|
|
|
# Toggles all cronjobs off/on. |
|
|
|
# Stores disabled crontabs in ~/.consaved until restored. |
|
|
|
|
|
|
|
([ -f ~/.config/cronsaved ] && crontab - < ~/.config/cronsaved && rm ~/.config/cronsaved && notify-send "🕓 Cronjobs re-enabled.") || ( crontab -l > ~/.config/cronsaved && crontab -r && notify-send "🕓 Cronjobs saved and disabled.") |