dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit 9b7cda466bb660799f3f85d6a87cd15fa5915969
parent 64cd591660b3d197d7629669f2d06ce41e9b6fe2
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sun, 15 Jul 2018 10:43:58 -0400

cron toggle script added

Diffstat:
A.scripts/crontog | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

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