Merge pull request #78 from m3tax/patch-1

Accidentally a letter
This commit is contained in:
Luke Smith 2018-07-16 13:13:38 -04:00 committed by GitHub
commit df6363a298

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# Toggles all cronjobs off/on. # Toggles all cronjobs off/on.
# Stores disabled crontabs in ~/.consaved until restored. # Stores disabled crontabs in ~/.cronsaved until restored.
([[ -f ~/.cronsaved ]] && cat ~/.cronsaved | crontab - && rm ~/.cronsaved && echo cronjobs renabled.) || ( crontab -l > ~/.cronsaved && crontab -r && echo cronjobs saved and disabled. ) ([[ -f ~/.cronsaved ]] && cat ~/.cronsaved | crontab - && rm ~/.cronsaved && echo cronjobs re-enabled.) || ( crontab -l > ~/.cronsaved && crontab -r && echo cronjobs saved and disabled. )