mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-21 05:41:54 +02:00
dont overwrite the log on each run, and use dedicated log for scheduled archiving
This commit is contained in:
@@ -1036,8 +1036,8 @@ def schedule(add: bool=False,
|
|||||||
'&&',
|
'&&',
|
||||||
quoted(ARCHIVEBOX_BINARY),
|
quoted(ARCHIVEBOX_BINARY),
|
||||||
*(['add', f'--depth={depth}', f'"{import_path}"'] if import_path else ['update']),
|
*(['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',
|
'2>&1',
|
||||||
|
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user