Not sure what all that YAHOO stuff in the message is, but regarding your scheduled task:
If you are able, your best bet is a Windows service with a timer, or a scheduled task running through Windows. If you can't do that (like if you're on a third-party host where you don't have server access), look into using the Cache to automatically recreate itself every so often, which will keep your application alive indefinitely - an example's at http://www.codeproject.com/KB/aspnet/ASPNETService.aspx - I used something like this myself, but the only problem I came across is that my provider restarted IIS once per day, which effectively shut down the application once a day. Once I requested a page anywhere in the application, the pseudo-timer stayed alive for the rest of the day, but died the next time IIS restarted. So if you're using third-party hosting, make sure this technique works for you before spending a lot of time on it. FYI: For my scenario, the only way I could accomplish my goal was to have an empty ASPX page that called the business stuff, and I used a Windows service on my desktop at home that just requested the page every hour. I just had to make sure my desktop machine was always on - not a great solution, but it was the best I could do under my circumstances. Hope that helps. Joe On Dec 13, 5:45 am, aisha wakeel <[email protected]> wrote: > if (typeof YAHOO == "undefined") { > var YAHOO = {};} > > YAHOO.Shortcuts = YAHOO.Shortcuts || {}; > YAHOO.Shortcuts.hasSensitiveText = true; > YAHOO.Shortcuts.sensitivityType = ["illegal"]; > YAHOO.Shortcuts.doUlt = false; > YAHOO.Shortcuts.location = "us"; > YAHOO.Shortcuts.document_id = 0; > YAHOO.Shortcuts.document_type = ""; > YAHOO.Shortcuts.document_title = ""; > YAHOO.Shortcuts.document_publish_date = ""; > YAHOO.Shortcuts.document_author = "[email protected]"; > YAHOO.Shortcuts.document_url = ""; > YAHOO.Shortcuts.document_tags = ""; > YAHOO.Shortcuts.document_language = "english"; > YAHOO.Shortcuts.annotationSet = { > "lw_1229172291_0": { > "text": "asp.net", > "extended": 0, > "startchar": 148, > "endchar": 154, > "start": 148, > "end": 154, > "extendedFrom": "", > "predictedCategory": "", > "predictionProbability": "0", > "weight": 1, > "relScore": 0, > "type": ["shortcuts:/us/place/virtual/web_site"], > "category": ["IDENTIFIER"], > "wikiId": "", > "relatedWikiIds": [], > "relatedEntities": [], > "showOnClick": [], > "context": "Hi.. Currently im working (in asp.net C#) on an application that > has a task to generate", > "metaData": { > "visible": "true"} > } > }; > > YAHOO.Shortcuts.headerID = "63fedd8a66c27f1b071fb8a60e42af6b"; > > Hi.. > > Currently im working (in asp.net C#) on an application that has a task > to generate mail reminders and send it to the user, the probelm im > facing is i have to check database as a scheduled task on daily basis > and send reminders due today. > > Kindly share some ideas. > > Thnx in advance > > Best Regards; > > Aisha!
