mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-26 14:10:20 +00:00
dont overwrite the log on each run, and use dedicated log for scheduled archiving
This commit is contained in:
parent
5d3a03b299
commit
534ae60ab0
1 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue