473,804 Members | 3,034 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

fire page once a day.

I have an aspx page that is used to control automated tasks. It needs to be
visited every day at 1am.

The host provider provides no such service at present.

I was looking for ideas.

Thanks

Shane
Nov 17 '05 #1
10 1578
From your computer, you can scedule to visit the site or hire a monkey...

"SStory" <Th*******@TAKE THISSPAMBUSTERO UT.Softhome.net > wrote in message
news:eb******** ******@tk2msftn gp13.phx.gbl...
I have an aspx page that is used to control automated tasks. It needs to be visited every day at 1am.

The host provider provides no such service at present.

I was looking for ideas.

Thanks

Shane

Nov 17 '05 #2
From your computer, you can scedule to visit the site or hire a monkey...

"SStory" <Th*******@TAKE THISSPAMBUSTERO UT.Softhome.net > wrote in message
news:eb******** ******@tk2msftn gp13.phx.gbl...
I have an aspx page that is used to control automated tasks. It needs to be visited every day at 1am.

The host provider provides no such service at present.

I was looking for ideas.

Thanks

Shane

Nov 17 '05 #3
Check out Autofire component. Just include it in your project and it will
work anywhere. U have to purchase it thou.

"zPaul" <~p****@phnip.c om> wrote in message
news:uF******** ******@TK2MSFTN GP10.phx.gbl...
From your computer, you can scedule to visit the site or hire a monkey...

"SStory" <Th*******@TAKE THISSPAMBUSTERO UT.Softhome.net > wrote in message
news:eb******** ******@tk2msftn gp13.phx.gbl...
I have an aspx page that is used to control automated tasks. It needs
to be
visited every day at 1am.

The host provider provides no such service at present.

I was looking for ideas.

Thanks

Shane


Nov 17 '05 #4
you have a couple of choices here. put a timer on the form and set it to
fire every 12 hours from 1am. I'd stop there because this is really the
better option. You can also use a thread with a sleep time, which is
essentially the same thing. you can use a server but i doubt your provider
will let you run a service on the server

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"SStory" <Th*******@TAKE THISSPAMBUSTERO UT.Softhome.net > wrote in message
news:eb******** ******@tk2msftn gp13.phx.gbl...
I have an aspx page that is used to control automated tasks. It needs to be visited every day at 1am.

The host provider provides no such service at present.

I was looking for ideas.

Thanks

Shane

Nov 17 '05 #5
That is interesting but still don't see how it would work.

Wouldn't someone still have to visit the page and keep it open in their
browser for that to fire???

Thanks

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:Ol******** ******@TK2MSFTN GP11.phx.gbl...
you have a couple of choices here. put a timer on the form and set it to
fire every 12 hours from 1am. I'd stop there because this is really the
better option. You can also use a thread with a sleep time, which is
essentially the same thing. you can use a server but i doubt your provider
will let you run a service on the server

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"SStory" <Th*******@TAKE THISSPAMBUSTERO UT.Softhome.net > wrote in message
news:eb******** ******@tk2msftn gp13.phx.gbl...
I have an aspx page that is used to control automated tasks. It needs
to be
visited every day at 1am.

The host provider provides no such service at present.

I was looking for ideas.

Thanks

Shane


Nov 17 '05 #6
No, not nescesarily. I don't know what the user is supposed to do in your
application, but if you want to keep the page warm for example to reduce on
on initial compile time you could put a timer on a form and within the timer
routine fire off a webrequest to call the page. Notice that I, the user,
have not physically navigated to the page, I just let the timer do the dirty
work for me - which is actually being performed on another thread by the
way. You can expand from this base however you see fit.

string url = "https://www.hotmail.com ";
Uri ourUri = new Uri(url);

// Create a 'WebRequest' object with the specified url.
WebRequest myWebRequest = WebRequest.Crea te(url);

// Send the 'WebRequest' and wait for response.
WebResponse myWebResponse = myWebRequest.Ge tResponse();

// Use "ResponseUr i" property to get the actual Uri from where the response
was attained.
if (ourUri.Equals( myWebResponse.R esponseUri))
Console.WriteLi ne("\nRequest Url : {0} was not redirected",url );
else
Console.WriteLi ne("\nRequest Url : {0} was redirected to
{1}",url,myWebR esponse.Respons eUri);
// Release resources of response object.
myWebResponse.C lose();
regards

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"SStory" <Th*******@TAKE THISSPAMBUSTERO UT.Softhome.net > wrote in message
news:uG******** ******@TK2MSFTN GP11.phx.gbl...
That is interesting but still don't see how it would work.

Wouldn't someone still have to visit the page and keep it open in their
browser for that to fire???

Thanks

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:Ol******** ******@TK2MSFTN GP11.phx.gbl...
you have a couple of choices here. put a timer on the form and set it to
fire every 12 hours from 1am. I'd stop there because this is really the
better option. You can also use a thread with a sleep time, which is
essentially the same thing. you can use a server but i doubt your provider will let you run a service on the server

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"SStory" <Th*******@TAKE THISSPAMBUSTERO UT.Softhome.net > wrote in message
news:eb******** ******@tk2msftn gp13.phx.gbl...
I have an aspx page that is used to control automated tasks. It needs

to
be
visited every day at 1am.

The host provider provides no such service at present.

I was looking for ideas.

Thanks

Shane



Nov 17 '05 #7
I think i replied to this. If you are willing buy the Autofire component
which will work beautifully.

"SStory" <Th*******@TAKE THISSPAMBUSTERO UT.Softhome.net > wrote in message
news:eb******** ******@tk2msftn gp13.phx.gbl...
I have an aspx page that is used to control automated tasks. It needs to be visited every day at 1am.

The host provider provides no such service at present.

I was looking for ideas.

Thanks

Shane

Nov 17 '05 #8
bottom line is that I have a site that needs to perform some automated tasks
without user intervention.

I am not allowed to do SQL Server jobs, or scheduled tasks with the host
provider so I made a page to be called by the owner at 1am every day to
handle this.

She has had problems setting up scheduled tasks on her computer and was
wondering if there is any other way.

thanks

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:e4******** ******@tk2msftn gp13.phx.gbl...
No, not nescesarily. I don't know what the user is supposed to do in your
application, but if you want to keep the page warm for example to reduce on on initial compile time you could put a timer on a form and within the timer routine fire off a webrequest to call the page. Notice that I, the user,
have not physically navigated to the page, I just let the timer do the dirty work for me - which is actually being performed on another thread by the
way. You can expand from this base however you see fit.

string url = "https://www.hotmail.com ";
Uri ourUri = new Uri(url);

// Create a 'WebRequest' object with the specified url.
WebRequest myWebRequest = WebRequest.Crea te(url);

// Send the 'WebRequest' and wait for response.
WebResponse myWebResponse = myWebRequest.Ge tResponse();

// Use "ResponseUr i" property to get the actual Uri from where the response was attained.
if (ourUri.Equals( myWebResponse.R esponseUri))
Console.WriteLi ne("\nRequest Url : {0} was not redirected",url );
else
Console.WriteLi ne("\nRequest Url : {0} was redirected to
{1}",url,myWebR esponse.Respons eUri);
// Release resources of response object.
myWebResponse.C lose();
regards

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"SStory" <Th*******@TAKE THISSPAMBUSTERO UT.Softhome.net > wrote in message
news:uG******** ******@TK2MSFTN GP11.phx.gbl...
That is interesting but still don't see how it would work.

Wouldn't someone still have to visit the page and keep it open in their
browser for that to fire???

Thanks

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:Ol******** ******@TK2MSFTN GP11.phx.gbl...
you have a couple of choices here. put a timer on the form and set it to fire every 12 hours from 1am. I'd stop there because this is really the better option. You can also use a thread with a sleep time, which is
essentially the same thing. you can use a server but i doubt your provider will let you run a service on the server

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"SStory" <Th*******@TAKE THISSPAMBUSTERO UT.Softhome.net > wrote in message news:eb******** ******@tk2msftn gp13.phx.gbl...
> I have an aspx page that is used to control automated tasks. It

needs to
be
> visited every day at 1am.
>
> The host provider provides no such service at present.
>
> I was looking for ideas.
>
> Thanks
>
> Shane
>
>



Nov 17 '05 #9
eh
How about the following:
You could set up a timer object in your Global class within the Global.asax
code:
Dim myTimer as new System.Timers.T imer
set the interval and enable it in the Application_Sta rt event:
myTimer.Interva l = 20000
myTimer.Enabled = True
AddHandler myTimer.Elapsed , New System.Timers.E lapsedEventHand ler(AddressOf
myTimer_Elapsed )

then create a myTimer_Elapsed method in this Global class to do
what you want when the time comes. You can check the
computer's time here and run a sub at the right time if the timer interval
is set to fire too frequently.
"SStory" <Th*******@TAKE THISSPAMBUSTERO UT.Softhome.net > wrote in message
news:uG******** ******@TK2MSFTN GP11.phx.gbl...
That is interesting but still don't see how it would work.

Wouldn't someone still have to visit the page and keep it open in their
browser for that to fire???

Thanks

"Alvin Bruney" <vapordan_spam_ me_not@hotmail_ no_spamhotmail. com> wrote in
message news:Ol******** ******@TK2MSFTN GP11.phx.gbl...
you have a couple of choices here. put a timer on the form and set it to
fire every 12 hours from 1am. I'd stop there because this is really the
better option. You can also use a thread with a sleep time, which is
essentially the same thing. you can use a server but i doubt your provider will let you run a service on the server

--
-----------
Got TidBits?
Get it here: www.networkip.net/tidbits
"SStory" <Th*******@TAKE THISSPAMBUSTERO UT.Softhome.net > wrote in message
news:eb******** ******@tk2msftn gp13.phx.gbl...
I have an aspx page that is used to control automated tasks. It needs

to
be
visited every day at 1am.

The host provider provides no such service at present.

I was looking for ideas.

Thanks

Shane



Nov 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4482
by: Mark | last post by:
I have been working for quite some time on this issue which in theory should be quite simple. The problem is that the Cancel and Save events are not fired when their respective buttons are clicked. I have read several posts which say to put your column generating section in the Page_Init section and it will solve the problem....however, it hasn't solved mine. Can somebody please take a look at this and provide any insight if possible?
7
2461
by: Gordon Smith | last post by:
I have four (4) ASP.NET Web applications/Web sites on a IIS/6 - Windows Server 2003 production server. 3 of them work fine. I just installed the 4th one and it's Application_Start event is not firing. I have double-checked everything (and rechecked) and I haven't found anything that would explain why the Application is not starting. Here is what I have done so far to troubleshoot this: In IIS Manager I have ensured that there is a...
15
10100
by: H00ner | last post by:
Hello All Hope you can help Been pulling my hair out about a popup problem in ASP.NET. One of the forms i wrote requires the user to select a product from a list in a popup web form. the popup has a DataGrid on it and the page.load function DataBinds as you'd expect. I have Code-Behind in C# to emit a call to a JavaScript function which
1
2157
by: Neil Jarman | last post by:
Hi, I'm new to this today, and I've got some test code (see below.) The data loads fine. I can't understand why any of the events fire. Once the page loads, clicking on thew button from the ItemTemplate does not fire the OnItemCommand event. It just fires a page reload - as a postback. I guess I'm missing something really obvious and important here?
0
2481
by: Raven Jones | last post by:
Heya all, I'm working on a web-based application (using ASP.NET and C# on .NET 1.1.4322, supporting only IE6 for Windows) that allows for file uploads. Screen real estate is at a premium, so I want to set its style to "display: none;" and interact only with the standard file upload dialog (which can be summoned by firing the click() method of the control). Attempting programmatic access of a file upload control is generally playing...
5
4200
by: Stephen Barrett | last post by:
I have read many threads related to async fire and forget type calls, but none have addressed my particular problem. I have a webpage that instantiates a BL object and makes a method call. The BL object method actually sets up a delegate and calls a private method asynchronously and immediately returns back to the web page. The problem I am having is that the async call never happens. I added a quick logging call immediately as the...
2
2664
by: Stuart Whiteford | last post by:
Hi, I asked this back in January without answer and forgot about it until now. I've got a basic web form, two textboxes, a couple of radio button groups, some required field validators, and a Submit and Cancel button. When the page loads, if I click the Cancel button, the server-side event fires as normal.
0
1611
by: manywolf | last post by:
I have an aspx page that fires the page load event twice for every load. I tried every fix that was suggested in all the posts on this and other forums. None changed the behavior. After one post that suggested they had an img tag with src="", I decided to look for instances of "src" and one by one start removing that code to see if it changed anything. Below is the one that, when I removed it, although it broke the flash menus and header, solved...
3
1633
scubak1w1
by: scubak1w1 | last post by:
Hello, I posted this in the HTML forum, but it was suggested I post it over here as well by a moderator. I have a form that will not 'fire' in non-IE browsers?? I have poked and poked at the code and can not find why. The AJAX changes the query button in non-IE browsers, at least in the sense it is not opaque anymore, the 'title' check changes, etc - it just doesn't "fire" when you click the icon/image in Mozilla, etc but DOES in Internet...
0
9572
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10562
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10070
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9132
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6845
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5508
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2978
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.