1
0
Fork 0
mirror of synced 2024-06-02 10:34:43 +12:00

dont overwrite the log on each run, and use dedicated log for scheduled archiving

This commit is contained in:
Nick Sweeting 2021-03-31 11:20:42 -04:00
parent 5d3a03b299
commit 534ae60ab0

View file

@ -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',
]