I have a script that updates my config if the upstream gateway changes. I know if this script is run under root the config will be locked until a reboot. I know the script needs to be run as a user with sg vyattacfg -c.Looking at /etc/cron.d/vyos-crontab the task looks like this:
0 4 * * * root sg vyattacfg “/home/vyos/ckgwip_vlan.sh”
Will this task run properly, and not lock the config once it executes? Can the user be changed, do you need the -c ?