The codes is a timer, when users logon, the script stays at background,once time came out, it launchs a batch file. How to write a such timer with Kix and users can not see the console window?

Any idea?