summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/task_scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/task_scheduler.py b/src/conf_mode/task_scheduler.py
index 285afe2b5..0391d3edb 100755
--- a/src/conf_mode/task_scheduler.py
+++ b/src/conf_mode/task_scheduler.py
@@ -27,7 +27,7 @@ from vyos import ConfigError
crontab_file = "/etc/cron.d/vyos-crontab"
-def format_task(minute="*", hour="*", day="*", dayofweek="*", month="*", user="root", rawspec=None, command=""):
+def format_task(minute="*", hour="*", day="*", dayofweek="*", month="*", user="vyos", rawspec=None, command=""):
fmt_full = "{minute} {hour} {day} {month} {dayofweek} {user} {command}\n"
fmt_raw = "{spec} {user} {command}\n"