I have a code only ASPX
page wich does some calculations on database data.
I have then configured my hosting to have a scheduled task which calls the page once a day at 6:00 o clock in the morning. However, because of the existence of an alias on the web address the page get called twice.
How can I synchronize the execution of the page load event to avoid that the two threads do the same thing twice?
The total execution of the thread is about 6/7 seconds.
Thanks for helping