diff options
| -rw-r--r-- | configuration.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/configuration.nix b/configuration.nix index f8475098..99d44aec 100644 --- a/configuration.nix +++ b/configuration.nix @@ -474,11 +474,13 @@ in { # Keep this so that when the "mail" command fails I also get a notification email mailto = "eu@euandre.org"; systemCronJobs = [ - "10 22 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: mr update' -- env SSH_AUTH_SOCK=`gpgconf --list-dirs agent-ssh-socket` mr -s safeupdate" - "20 */6 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: email flush' -- msmtp-queue -r" - "30 */6 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: email sync' -- sh -c 'mbsync -a && notmuch new'" - "50 22 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: borg backup' -- sh ~/dev/libre/dotfiles/src/bin/backup" - # FIXME: add job to update Guix + "40 23 * * * root sh /etc/with-email.sh -s '[CRON] usurpador: guix upgrade' -- 'guix pull && guix package -u && systemctl restart guix-daemon.service'" + "40 22 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: guix upgrade' -- 'guix pull && guix package -u'" + "0 22 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: guix deploy' -- 'guix deploy -L ~/dev/libre/servers/src/lib ~/dev/libre/servers/src/machines.scm'" + "10 22 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: mr update' -- 'mr -s safeupdate'" + "20 */6 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: email flush' -- 'msmtp-queue -r'" + "30 */6 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: email sync' -- 'mbsync -a && notmuch new'" + "50 22 * * * andreh sh /etc/with-email.sh -s '[CRON] usurpador: borg backup' -- '~/dev/libre/dotfiles/src/bin/backup'" ]; }; |
