From 534ae60ab03eddd4e513f453e158fbe697878a1d Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 31 Mar 2021 11:20:42 -0400 Subject: [PATCH] dont overwrite the log on each run, and use dedicated log for scheduled archiving --- archivebox/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archivebox/main.py b/archivebox/main.py index dbe8d475..4d32f5f7 100644 --- a/archivebox/main.py +++ b/archivebox/main.py @@ -1036,8 +1036,8 @@ def schedule(add: bool=False, '&&', quoted(ARCHIVEBOX_BINARY), *(['add', f'--depth={depth}', f'"{import_path}"'] if import_path else ['update']), - '>', - quoted(Path(LOGS_DIR) / 'archivebox.log'), + '>>', + quoted(Path(LOGS_DIR) / 'schedule.log'), '2>&1', ]