dotfiles

My dotfiles used for LARBS
Log | Files | Refs | README | LICENSE

crontog (346B)


      1 #!/usr/bin/env sh
      2 # Toggles all cronjobs off/on.
      3 # Stores disabled crontabs in ~/.consaved until restored.
      4 
      5 ([ -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.")