1 Reply Latest reply on Feb 27, 2014 7:10 AM by philmodjunk

    How can I run the script during user section

    happyho

      Title

      How can I run the script during user section

      Post

           hi All,

           I am new user of FM, I  have a script but I dont know how to run the script every interval during user section. Because I need to catch time user login the system, but sometime FM client disconnect from Server so that, the script need to run every interval to catch last time this user is on system.

            

           Thank all.

        • 1. Re: How can I run the script during user section
          philmodjunk

               Do you need to have the server set to disconnect users on idle? This is a setting that you can change in the user's privilege set settings.

               You might use Install OnTimer script to perform a short script at regular intervals that logs the date, time, and user account name to a table to log the fact that the user was logged in for that interval of time.

               But there's no way to detect and respond to a server "on idle" disconnect to log the fact that the user was accessing the database in a table.