diff options
| author | EuAndreh <eu@euandre.org> | 2022-03-25 18:39:28 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2022-03-25 18:39:28 -0300 |
| commit | f419bd5d413b4487ddf92069fe5e8a955c607611 (patch) | |
| tree | a749b2245065a22eb70b1471d1ac4409f3dc8ad2 | |
| parent | configuration.nix: Use GRUB booting only, remove redundant systemd configuration (diff) | |
| download | dotfiles-f419bd5d413b4487ddf92069fe5e8a955c607611.tar.gz dotfiles-f419bd5d413b4487ddf92069fe5e8a955c607611.tar.xz | |
configuration.nix: Update cronjob schedules
| -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'" ]; }; |
