Hi,
From your description, I think you need to run some program when a user logins in to your website.
If this is the case, you can activate the application you want to run in the login button of your website. When a user clicks the login button, check for time. If it is within the time period you have specified, run the application.
Hope this is what you need.
Sincerely,
Kevin Yu
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Mark as Not Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.