summaryrefslogtreecommitdiff
path: root/.local/bin/crontog
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-10-13 10:43:49 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-10-13 10:43:49 -0400
commita66988a6e884273b13a12a85ab80dd08e8a7ce4a (patch)
treeda3373a6e92b203c132eeb9e61cbeca53915d710 /.local/bin/crontog
parent1d1039dfd58c3295c03f98a1890fb67f1bf98a46 (diff)
Lots of changes
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.")