summaryrefslogtreecommitdiff
path: root/src/conf_mode/task_scheduler.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-24 20:47:09 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-24 20:47:09 +0200
commit8e26cb731b36e8fb0ec48c40be5670c3f77cf346 (patch)
tree7c6d42c7b6179091d0c285aec572bf75d37cbcf6 /src/conf_mode/task_scheduler.py
parent374ebb0e69ecd9eef9c10e23a6f950c188e81e15 (diff)
downloadvyos-1x-8e26cb731b36e8fb0ec48c40be5670c3f77cf346.tar.gz
vyos-1x-8e26cb731b36e8fb0ec48c40be5670c3f77cf346.zip
T462: make cron jobs run with vyattacfg GID.
Diffstat (limited to 'src/conf_mode/task_scheduler.py')
-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 c19b88007..285afe2b5 100755
--- a/src/conf_mode/task_scheduler.py
+++ b/src/conf_mode/task_scheduler.py
@@ -47,7 +47,7 @@ def split_interval(s):
def make_command(executable, arguments):
if arguments:
- return("{0} {1}".format(executable, arguments))
+ return("sg vyattacfg \"{0} {1}\"".format(executable, arguments))
else:
return(executable)