diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-03-11 16:40:30 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-03-11 16:40:30 -0400 |
| commit | 201a9c2a4955f1ed23739a624b96ed7c14a92a6c (patch) | |
| tree | effeece0841ddfdd9a095265e0fa58c38ba10d26 /.scripts | |
| parent | 66aaa1294c9b21ff5ed37575dc85c969ff5174f7 (diff) | |
| download | eibhear-201a9c2a4955f1ed23739a624b96ed7c14a92a6c.tar.gz eibhear-201a9c2a4955f1ed23739a624b96ed7c14a92a6c.tar.zst eibhear-201a9c2a4955f1ed23739a624b96ed7c14a92a6c.zip | |
no pix in crontog
Diffstat (limited to '.scripts')
| -rwxr-xr-x | .scripts/cron/crontog | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/cron/crontog b/.scripts/cron/crontog index e6ffd6a..b5694b3 100755 --- a/.scripts/cron/crontog +++ b/.scripts/cron/crontog @@ -2,4 +2,4 @@ # Toggles all cronjobs off/on. # Stores disabled crontabs in ~/.consaved until restored. -([ -f ~/.cronsaved ] && crontab - < ~/.cronsaved && rm ~/.cronsaved && note "Cronjobs re-enabled." "$PIX/clock.gif" ) || ( crontab -l > ~/.cronsaved && crontab -r && note "Cronjobs saved and disabled." "$PIX/clock.gif") +([ -f ~/.cronsaved ] && crontab - < ~/.cronsaved && rm ~/.cronsaved && notify-send "🕓 Cronjobs re-enabled.") || ( crontab -l > ~/.cronsaved && crontab -r && notify-send "🕓 Cronjobs saved and disabled.") |
