ITsolutionWizard
asked on
asp.net web services
I have asp.net web services written in c# and it basically just query in the database and extract some information and email to the end user. the email came from the database.
My question is if I want this web service to run daily at 1:00 am (PST) except the weekend. How can I do that?
Thanks
My question is if I want this web service to run daily at 1:00 am (PST) except the weekend. How can I do that?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Cool!
to check the days are weekend, really the obvious approach would be declare constant string of Saturday and Sunday and if that compares to System.Date getDay() {not the right method but i'm sure there should be some methods to get the day} as saturday and sunday then dont perform the task.
Good luck with your project :)
to check the days are weekend, really the obvious approach would be declare constant string of Saturday and Sunday and if that compares to System.Date getDay() {not the right method but i'm sure there should be some methods to get the day} as saturday and sunday then dont perform the task.
Good luck with your project :)
ASKER