Is there a way to have user disconnected by a script after a set period of time?
Example is someone has been connected to the server fro 12 hours, can I automatically disconnect them?
There is a disconnect on idle setting that you can specify in the user's privilege set.
Thank you, but my question is there a disconnect script that can be done like the example I provided?
the fmreauthenticate will timeout after that period of time and force the user to log back in.. so yes...
example fmreauthenticate = 120
after 120 minutes (of idle) this will force the user to log back in
But that isnt my question
FMS-Sceduled System-Script (.command) on OSX
fmreauthenticate requires reauthentication after the specified number of minutes using another app in Go, or in sleep/hibernation in Pro/Go.
It does not disconnect the client after the specified number of minutes and it is not related to idle time.
If I understand question, OP wants full disconnect regardless of whether the system is idle or not.
In that case I don't see why you can't install an OnTimer script when the file opens and on every new window (in case the original window is closed). Set it to run every 43,200 seconds (12 hours) and set that script to close the file. But be aware that the user will be booted even if they are using the system, unless your script gives them an option to cancel shut down.
If any window contains uncommitted data that fails validation, I expect that will throw an error and the user will have an option to cancel the script if Allow User Abort has not been set to OFF.
Yes, that is probably the best option I have. Ideally I would like to bump of any users of the server at certain times of the night. As best as I know, many of the options on the server are not yet available to be execute though scripts within the FM client.
Retrieving data ...