GUI: Fix interval task creation under linux

This commit is contained in:
deajan 2024-10-29 11:48:31 +01:00
parent 4d75636b07
commit 7ff38b4a56

View file

@ -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"