diff --git a/.scripts/crontog b/.scripts/crontog old mode 100755 new mode 100644 index d223f9e..1cb74ee --- a/.scripts/crontog +++ b/.scripts/crontog @@ -1,5 +1,5 @@ #!/bin/bash # Toggles all cronjobs off/on. -# Stores disabled crontabs in ~/.cronsaved until restored. +# Stores disabled crontabs in ~/.consaved until restored. -([[ -f ~/.cronsaved ]] && cat ~/.cronsaved | crontab - && rm ~/.cronsaved && echo cronjobs re-enabled.) || ( crontab -l > ~/.cronsaved && crontab -r && echo cronjobs 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.")