473,405 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Run Code every 24 hours

Hi everyone, I have a code which should be implemented in my site
every 24 hours, I have no idea how can do,
greatly appreciate any suggestions.
Thank You.

spanish:
Hola a todos, tengo un código que debe ejecutarse dentro de mi sitio
ASP.NET cada 24 horas, no tengo la minima idea de como poder hacerlo,
mucho agradecería alguna sugerencia al respecto.
Saludos Cordiales.

Don Quijote de Nicaragua.
Elder Soto.

Aug 27 '08 #1
4 1434
Create a console app and use at.exe to schedule it to run. Without knowing
any other specifications, this is, by far, the easiest way to do this.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"Don Quijote de Nicaragua" <el*******@gmail.comwrote in message
news:42**********************************@z66g2000 hsc.googlegroups.com...
Hi everyone, I have a code which should be implemented in my site
every 24 hours, I have no idea how can do,
greatly appreciate any suggestions.
Thank You.

spanish:
Hola a todos, tengo un código que debe ejecutarse dentro de mi sitio
ASP.NET cada 24 horas, no tengo la minima idea de como poder hacerlo,
mucho agradecería alguna sugerencia al respecto.
Saludos Cordiales.

Don Quijote de Nicaragua.
Elder Soto.

Aug 27 '08 #2
On Aug 26, 10:24*pm, Don Quijote de Nicaragua <elders...@gmail.com>
wrote:
Hi everyone, I have a code which should be implemented in my site
every 24 hours, I have no idea how can do,
greatly appreciate any suggestions.
Thank You.

spanish:
Hola a todos, tengo un código que debe ejecutarse dentro de mi sitio
ASP.NET cada 24 horas, no tengo la minima idea de como poder hacerlo,
mucho agradecería alguna sugerencia al respecto.
Saludos Cordiales.

Don Quijote de Nicaragua.
Elder Soto.
"a code which should be implemented in my site" - do you mean
scheduling a particlar web page to "run" every n-hours?

you can use VBScript file ( for example, "torun.vbs") with something
like this:

URL = "http://www.microsoft.com/page_to_run_every_23_hours.aspx"
Set WshShell = WScript.CreateObject("WScript.Shell")
Set http = CreateObject("Microsoft.XmlHttp")
http.open "GET", URL, FALSE
http.send ""
WScript.Echo http.responseText
set WshShell = nothing
set http = nothing
and then schedule that file via Windows scheduler.
... more at http://www.siccolo.com/articles.asp ...
Aug 27 '08 #3
Assuming you have full control over your web server, a Windows Service may
be the best implementation choice for such a feature.

Here's more info on Windows Services:
http://msdn2.microsoft.com/en-us/lib...50(VS.71).aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
http://iPhonePlaza.net
"Don Quijote de Nicaragua" <el*******@gmail.comwrote in message
news:42**********************************@z66g2000 hsc.googlegroups.com...
Hi everyone, I have a code which should be implemented in my site
every 24 hours, I have no idea how can do,
greatly appreciate any suggestions.
Thank You.

spanish:
Hola a todos, tengo un código que debe ejecutarse dentro de mi sitio
ASP.NET cada 24 horas, no tengo la minima idea de como poder hacerlo,
mucho agradecería alguna sugerencia al respecto.
Saludos Cordiales.

Don Quijote de Nicaragua.
Elder Soto.

Aug 29 '08 #4
Thank You all,
Gracias a todos.
Don Quijote de Nicaragua.
Elder Soto.

On 29 ago, 12:24, "Steve C. Orr [MCSD, MVP, CSM, ASP Insider]"
<St...@Orr.netwrote:
Assuming you have full control over your web server, a Windows Service may
be the best implementation choice for such a feature.

Here's more info on Windows Services:http://msdn2.microsoft.com/en-us/lib...50(VS.71).aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsiderhttp://SteveOrr.nethttp://iPhonePlaza.net

"DonQuijotede Nicaragua" <elders...@gmail.comwrote in messagenews:42**********************************@z 66g2000hsc.googlegroups.com...
Hi everyone, I have a code which should be implemented in my site
every 24 hours, I have no idea how can do,
greatly appreciate any suggestions.
Thank You.

spanish:
Hola a todos, tengo un código que debe ejecutarse dentro de mi sitio
ASP.NET cada 24 horas, no tengo la minima idea de como poder hacerlo,
mucho agradecería alguna sugerencia al respecto.
Saludos Cordiales.

DonQuijotede Nicaragua.
Elder Soto.
Aug 30 '08 #5

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

Similar topics

8
by: Jeroen | last post by:
Hi, I'm searching but not finding :( I need the code that creates automatic the days in a month So like for this month, it creates the days in this format 01-Oct, 02-Oct, .... This...
2
by: 42zeros | last post by:
I would like a function to be executed every x often. I was just wondering how to pass the following code correctly. my object t just doesn't know what checkMail is. How can I tell it that...
9
by: Markus Minichmayr | last post by:
Hello! Does anyone know a free tool to collect source code metrics like lines of code, no. of classes, etc.? Thanks Markus
3
by: eiselekd | last post by:
Does anyone know about a code snippet that can be used to output a backtrace just like gdb's "backtrace" command does. One that can be called on a segmentation fault. (without resolving symbol...
192
by: Vortex Soft | last post by:
http://www.junglecreatures.com/ Try it and tell me what's happenning in the Microsoft Corporation. Notes: VB, C# are CLS compliant
8
by: Scott M | last post by:
I have a procedure in my Dispose method that records my application was closed in a database. However, when I kill a process or an unhandled exception occurs this does not seem to run. Is there...
2
by: Plinkerton | last post by:
Does anyone have any favorites for Code Generators for VB? It looks like there are quite a few.... http://www.codegeneration.net/generators-by-language.php?language=31
6
by: coldwind2010 | last post by:
Hi! I want to post a form to a page,and get the output of the page. But the post value includes a authentication code which is 13 figures and change every time. I use curl fuction to do so. I...
2
by: ioshonowo | last post by:
Hello. Could someone give me the command that will allow my batch program to execute an iteration of a for loop then wait 5 minutes and execute another iteration. I have tried wait and sleep but...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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...

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.