From f6b508cc67c79b225d88f66c0fbfce787c80ace2 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 18 May 2019 23:10:32 -0300 Subject: Add ArchiveBox setup - add repo to mrconfig; - create daily log file; - add `archivebox` executable to $PATH; - create cronjob to run every 12 hours; - backup ~/archive/ folder. Side note: medium.com DNS resolves to an IPv6 address but rejects connections from clients that try to reach medium using it. I had to force an IPv4 connection instead. --- nixos/configuration.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'nixos') diff --git a/nixos/configuration.nix b/nixos/configuration.nix index d865be4..c050ef5 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -338,11 +338,10 @@ in # We can see the actual generated crontab at /etc/crontab cron.systemCronJobs = [ # Sync emails with mbsync every hour - "0 * * * * andreh /home/andreh/dev/libre/dotfiles/scripts/mail.sh -s" - - # Refresh local RSS files every hour - "0 * * * * andreh /home/andreh/dev/libre/dotfiles/scripts/atom.sh" + "0 * * * * andreh /home/andreh/dev/libre/dotfiles/scripts/mail.sh -s" + # Archive Pocket data every 12 hours + "0 12 * * * andreh /home/andreh/dev/libre/dotfiles/scripts/archive.sh" ]; xserver = { -- cgit v1.2.3