mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-11-05 06:51:14 +01:00
Delete crontog
This commit is contained in:
@@ -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.")
|
|
||||||
Reference in New Issue
Block a user