Im trying to force my Android devices to auto update using the following script set with a scheduled task
In the log I get the error Custom log (missing ; before statement (Auto Update OS.js#1))
My Auto Update OS.js is just
writeprivateprofstring SystemUpdatePolicy SystemUpdatePolicy 1
apply SystemUpdatePolicy
If I open send script on a device,select JavaScript and send the same script above I get the same error.
If I select legacy I get the notifications.
Script was sent to device (writeprivateprofstring SystemUpdatePolicy SystemUpdatePolicy 1 apply SystemUpdatePolicy
Feature is not supported (SystemUpdatePolicy)
So my question is do I have to set the script to legacy somehow to make it work on a scheduled task?
And is it actually supported?
I have tried on Android device versions 7 and 8.1 running SOTI agent 14.4.1