PDA

View Full Version : How to write a "chron job" on DiscountASP.net servers


FreddieCode
05-05-2006, 12:01 AM
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.

joelnet
05-05-2006, 12:32 AM
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

FreddieCode
05-05-2006, 01:22 AM
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.

Aristotle
05-05-2006, 01:44 AM
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 (http://www.DiscountASP.NET)