From 9d9179cab72d3ff614db9fb978faa059266a8270 Mon Sep 17 00:00:00 2001 From: Michael Peteuil Date: Sun, 9 Aug 2020 22:37:09 -0400 Subject: [PATCH] Updated Scheduled Archiving (markdown) --- Scheduled-Archiving.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scheduled-Archiving.md b/Scheduled-Archiving.md index c261e5b..9b47b09 100644 --- a/Scheduled-Archiving.md +++ b/Scheduled-Archiving.md @@ -22,7 +22,7 @@ This example exports your browser history and archives it once a day: cd /opt/ArchiveBox ./bin/archivebox-export-browser-history --firefox ./output/sources/firefox_history.json -./bin/archivebox ./output/sources/firefox_history.json >> /var/log/ArchiveBox.log +archivebox add < ./output/sources/firefox_history.json >> /var/log/ArchiveBox.log ``` **Then create a new file `/etc/cron.d/ArchiveBox-Firefox` to tell cron to run your script every 24 hours:** @@ -41,7 +41,7 @@ First, set your Pocket RSS feed to "public" under https://getpocket.com/privacy_ #!/bin/bash cd /opt/ArchiveBox -./bin/archivebox https://getpocket.com/users/yourusernamegoeshere/feed/all >> /var/log/ArchiveBox.log +curl https://getpocket.com/users/yourusernamegoeshere/feed/all | archivebox add >> /var/log/ArchiveBox.log ``` **Then create a new file `/etc/cron.d/ArchiveBox-Pocket` to tell cron to run your script every 12 hours:**