mirror of https://github.com/tiyn/dotfiles
parent
d4978d00d8
commit
d584ea40f2
@ -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.")
|
Loading…
Reference in new issue