Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0 ASP.NET4.0
hi..
i want code for how to set start time for run global.asax file in asp.net.
please help me.



thanks in advance..
Posted 16-Nov-12 3:27am
NaniCh726

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Your question is really not very clear, but I'll take a crack at this one.
I think you may be talking about Simple Task Scheduling. If this is the case, this[^] article may be of some use to you.
  Permalink  
Comments
NaniCh at 16-Nov-12 9:35am
   
I want code for i fix the run global.asax file for certain time. for that time should start the running global.asax file in our project.. how is it possible...???
Marcus Kramer at 16-Nov-12 9:51am
   
Sorry, but that makes no sense whatsoever. Your global.asax file will run to handle certain generic events on your web application. As long as your web app is turned on, the global.asax file will handle those events. If you want to constrain the execution of actions in these handlers by time, then you could always add a if current time is between such and such then do this stuff type of logic into the handlers themselves.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 393
1 Sascha Lefévre 215
2 Abhinav S 170
3 Richard Deeming 155
4 CHill60 150
0 Sergey Alexandrovich Kryukov 7,141
1 OriginalGriff 6,410
2 Maciej Los 2,832
3 Abhinav S 2,732
4 Peter Leow 2,694


Advertise | Privacy | Mobile
Web01 | 2.8.150414.1 | Last Updated 16 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100