From a134d1d2db94a3999f2c9082d4cbf8299751eabd Mon Sep 17 00:00:00 2001 From: yuriyurisuki <30354739+ExploXd@users.noreply.github.com> Date: Sat, 28 Jul 2018 09:35:00 +0200 Subject: [PATCH] Update crontog --- .scripts/crontog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/crontog b/.scripts/crontog index 52b6618..1cb74ee 100644 --- a/.scripts/crontog +++ b/.scripts/crontog @@ -2,4 +2,4 @@ # Toggles all cronjobs off/on. # Stores disabled crontabs in ~/.consaved until restored. -([[ -f ~/.cronsaved ]] && cat ~/.cronsaved | crontab - && rm ~/.cronsaved && notify-send "Cronjobs has been re-enabled." && echo cronjobs re-enabled.) || ( crontab -l > ~/.cronsaved && crontab -r && echo cronjobs saved and disabled.;notify-send "Cronjobs has been saved and disabled.") +([[ -f ~/.cronsaved ]] && cat ~/.cronsaved | crontab - && rm ~/.cronsaved && notify-send "Cronjobs have been re-enabled." && echo cronjobs re-enabled.) || ( crontab -l > ~/.cronsaved && crontab -r && echo cronjobs saved and disabled.;notify-send "Cronjobs have been saved and disabled.")