summaryrefslogtreecommitdiff
path: root/.local/bin/crontog
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/crontog')
-rwxr-xr-x.local/bin/crontog5
1 files changed, 0 insertions, 5 deletions
diff --git a/.local/bin/crontog b/.local/bin/crontog
deleted file mode 100755
index 93c2d30..0000000
--- a/.local/bin/crontog
+++ /dev/null
@@ -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.")