mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-08 14:05:41 +08:00
GUI: Fix interval task creation under linux
This commit is contained in:
parent
4d75636b07
commit
7ff38b4a56
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ def create_scheduled_task_unix(
|
|||
|
||||
if interval_minutes is not None:
|
||||
TASK_ARGS = f'-c "{config_file}" --{type} --run-as-cli{object_args}'
|
||||
trigger = f"*/{interval_minutes} * * * *"
|
||||
trigger = f"*/{interval_minutes} * * * * root"
|
||||
elif hour is not None and minute is not None:
|
||||
if type == "backup":
|
||||
force_opt = " --force"
|
||||
|
|
Loading…
Add table
Reference in a new issue