Delete crontog

This commit is contained in:
yuriyurisuki 2018-07-28 08:56:27 +02:00 committed by GitHub
parent 595ae287e1
commit 0ff5fcd8cb

View file

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