Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / April 2007

Tip: Looking for answers? Try searching our database.

Daily automated process

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bmjnine@hotmail.com - 29 Mar 2007 01:24 GMT
Hi all,

I am trying to setup a daily task in my .NET (1.1) application. The
application is a project management tool, and the daily task I am
trying to set up will check for overdue project deadlines, and send
out email reminders.

I have setup all the logic that checks deadlines & sends the emails,
and that works great. However, automating it has been a problem.

I have tried an approach using timers, and that works great for the
most part, but when the application is recycled/restarted every so
often on the server, it does not automatically
"start" (Application_Start) again until someone hits the site, and the
emails stop going out until that happens. I have read this is normal,
and it makes sense, resource-wise. However, the application is only
used by about 20 people in a closed Intranet environment, and I guess
sometimes no one hits the site for several days, causing the emails to
get sent out days late.

I have heard some references to using cache objects, but I don't know
much about how to do this. I haven't delved into because I would
assume the approach would fall under the same limitations as the above
(the application as to be "on" for it to work). Is this right?

And most unfortunately, I am not allowed to set up Windows Scheduled
Tasks OR Windows Services on the server. :(

If it were a public site, I would probably just set up a Scheduled
Task on one of my own machines to trigger it, but the site only
accessible from within their own network.

And I don't really want to ask my client (the manager of the group
that uses it) to setup a Scheduled Task on her own machine because it
would be unreliable (say if she goes on vacation or leaves the
company).

I (and the client) have pretty much given up on it, and she
understands much of it is due to the server limitations her IT dept.
is imposing. However, I thought I'd throw this out here to see if
there are any alternate suggestions before we ditch the effort.

Thanks so much,

Alyssa
Aidy - 29 Mar 2007 10:00 GMT
ASP is a request/response technology and isn't suited to what you're trying
to do.  The only solution is to use something other than asp.net.  A windows
service would be best bet, or an application running on a machine on the
same network that can access the database.

I know you say you're not allowed to install services etc but is there a
legitimate reason for that?

> Hi all,
>
[quoted text clipped - 41 lines]
>
> Alyssa
Mark Rae - 29 Mar 2007 10:08 GMT
> And most unfortunately, I am not allowed to set up Windows Scheduled
> Tasks OR Windows Services on the server. :(
>
> If it were a public site, I would probably just set up a Scheduled
> Task on one of my own machines to trigger it, but the site only
> accessible from within their own network.

If it were a public site, I could understand not being able to install a
Windows service, but on an internal network that makes no sense at all...
bmjnine@hotmail.com - 29 Mar 2007 18:25 GMT
well, i'm not allowed to install a Windows service on the actual
server because it is a shared server and they don't want the overhead/
risk. i'm hesitant to install a windows service on one of the actual
user's machines within the network because they all use laptops that
are not always on, and sometimes they go on vacation or leave the
company all together. i suppose i could find out if there are other
machines on that network that are always on that i could setup a
Windows service on (though i'm already expecting a "no") -- is that my
best bet?

excuse my niavete -- i'm new to the window service realm...

thanks,
alyssa
PS - 02 Apr 2007 15:01 GMT
> Hi all,
>
[quoted text clipped - 37 lines]
> is imposing. However, I thought I'd throw this out here to see if
> there are any alternate suggestions before we ditch the effort.

Some questions so that I can understand the infrastructure to propose a
solution. The server is a shared server but is only accessible from the
intranet. Is the server located at the same location as the clients? If it
is not then how is the networking configured to restrict access to only your
clients? Is there another server available to use for just the daily task?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.