Simulate a Windows Service using ASP.NET to run scheduled jobs

Posted on 2009-12-30
Last Modified: 2012-05-08

i need to develop a scheduled task job using to send daily emails at specific time, like 8pm every day.

i can do it through windows service, but the problem i host my files in shared hosting, so i can't to use this approach.

i goggled but until now i didn't get the best solution to use it.

i hope someone help me in this case.

Question by:hazemfadl
    LVL 9

    Expert Comment

    What about in ASP.NET, you send daily emails whenever you got a special request, then you implement another scheduled task that send the request to your ASP.NET program 8 pm everyday?

    Author Comment

    hi magicdlf,

    thanks for your reply, but i didn't get your point.

    i can't make the scheduled task through

    i found this article

    by Omar Al Zabir, and it's working fine.

    but the problem, its not working daily, it's working when someone hit the page not with the timer.

    i need to use timer and make the application work without any one hit the page.

    also i need to make my application still alive.

    LVL 9

    Expert Comment

    Then you just make it working when someone hit the page. And now your task is converted to implement a schedule task(Not in ASP.NET, could be windows service or any other implementation) that send request to ASP.NET every 24 hours. Is that clear?

    Author Comment

    Dear magicdlf,

    could you please provide to me a sample because i am beginner in
    LVL 9

    Accepted Solution

    You need to wait a little bit longer because I am going to sleep. Just try to find it out by yourself or post a new question to draw other experts' attension. Good luck.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API ( has made its way into the popular lexicon of the English language.  A few years ago, …
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now