I need to log domain user logins & logouts to an Oracle database. Not all computers have Oracle drivers, but one of the domain controllers does.
So I have created a script which writes the information when a person logs in to a folder on the domain controller with Oracle. I have created a script which looks in the appropriate folder and uses an Oracle utility to read all of the files and insert the data into the DB. I could have a scheduled task wake up periodically and read all the files and insert them into Oracle. But most of the time there would be no files there.
What I would prefer to do is to fire off a scheduled task on the domain controller every time someone finishes logging in or out. Of course this brings up permissions issues, etc.Is there a way to create a scheduled task which would allow any domain user to issue a command that would cause the task to run?