mirror of https://github.com/tiyn/dotfiles
parent
2537d72bf3
commit
4508b48945
@ -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