From 1ca1ac3c4a4a72e5d28730e0e4aa4cee37f025ad Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Sat, 15 Feb 2025 01:35:08 +0000
Subject: [PATCH] Add a cron job to run mbsync twice a day

---
 nix/hosts/t490/services/cron.nix | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nix/hosts/t490/services/cron.nix b/nix/hosts/t490/services/cron.nix
index 8752ccf8..f9b961c3 100644
--- a/nix/hosts/t490/services/cron.nix
+++ b/nix/hosts/t490/services/cron.nix
@@ -6,6 +6,7 @@
 
     systemCronJobs = [
       "*/15 * * * * opdavies ${pkgs.imapfilter}/bin/imapfilter -c ~/Code/email-filters/config.lua"
+      "0 8,20 * * * opdavies ${pkgs.isync}/bin/mbsync -a"
     ];
   };
 }