Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Asp.Net Programming

Run an aspx page automatically


Hi there i have some simple code that needs to run every night at a certain
time. does anyone know how in server 2003 i can tell a process to run an aspx
page. or should i make it a windows app and can you autostart those?
Hello louise,

You can just call the Process.Start with you url and page will be open,
but I'm not sure that opening aspx page this way is a good approach.

As I understand you need to call some business logic at the specific time,
so why not to divide this code from the page and introduce it as service,
so it can be called in background without presentation

---
WBR,  Michael  Nemtsev [.NET/C# MVP].  
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

lr> Hi there i have some simple code that needs to run every night at a
lr> certain time. does anyone know how in server 2003 i can tell a
lr> process to run an aspx page. or should i make it a windows app and
lr> can you autostart those?
lr>

-----------------------------------------------Reply-----------------------------------------------

Make a regular Windows app and add it to Scheduled Tasks (get there from
your Control Panel).

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net

"louise raisbeck" <louiseraisb@discussions.microsoft.com> wrote in
message news:24627BC0-16FA-4C7B-A034-CF9D32CF612B@microsoft.com...

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc