How to write a "chron job" on DiscountASP.net servers

Discussion in 'ASP.NET WebServices' started by FreddieCode, May 5, 2006.

  1. Hi,

    Not sure if this is the right forum for this post.

    I'm coming from the Unix/Linux world of webservers. On those servers I could write a "chron job" to do certain tasks at certain times of the day. For example, I could run a job at 1:00AM to putt data from another server or send emails.

    Can you do this on the DiscountASP.net servers? If so, can I write a VB script or somehting?

    Thanks.
     
  2. In our control panel we have a feature called "scheduled task". Is this what you are looking for?



    Joel Thoms
    DiscountASP.NET
    http://www.DiscountASP.NET
     
  3. Thanks..


    I think"scheduled tasks" looks like what I need. But,itseems to only be a able to call a URL webpage? What if I wanted to send an email every day at a certain time (not spam, dont worry :)), how would I do this? I'm gussing I would write an ASP.NET 2.0 web page that performs this task, password protect the directory and have the "Scheduled task" open that page? Or, if I wanted to extract data from a certain website every night at the same time, would I make an ASP.NET web page that does this, and call it from the "scheduled task"?


    Thanks.
     
  4. Yes, you'll have to create an ASP.NET web page so that you can call it with the Scheduled Task.

    Aristotle

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page