Hi,
Need to run a background job which will run everyday and check if any
of the members in the web application have their membership expiration
date approaching and send them a remainder accordingly. How can this
thread / method be scheduled to run background at sometime during the
day.
Thanks in advance
vivekian . 7 1302
You can run a background job by using the ThreadPool class.
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
"vivekian" <vi********@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com:
Hi,
Need to run a background job which will run everyday and check if any
of the members in the web application have their membership expiration
date approaching and send them a remainder accordingly. How can this
thread / method be scheduled to run background at sometime during the
day.
Thanks in advance
vivekian .
Write your application and then use the Task Schedular in Windows to execute
it every day at the desired time. Given this app, I would choose early
morning hours so the reminder is in their inbox when they arrive at work.
Mike Ober.
"Bryan Phillips" <bp*******@nospam.crowechizek.com.spammenotwrote in
message news:OF****************@TK2MSFTNGP02.phx.gbl...
You can run a background job by using the ThreadPool class.
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
"vivekian" <vi********@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com:
Hi,
Need to run a background job which will run everyday and check if any
of the members in the web application have their membership expiration
date approaching and send them a remainder accordingly. How can this
thread / method be scheduled to run background at sometime during the
day.
Thanks in advance
vivekian .
Just to clarify that in this case you would write either windows or console
application. You can also use your database job scheduling facilities.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Michael D. Ober" <obermd.@.alum.mit.edu.nospamwrote in message
news:on****************@newsread2.news.pas.earthli nk.net...
Write your application and then use the Task Schedular in Windows to
execute
it every day at the desired time. Given this app, I would choose early
morning hours so the reminder is in their inbox when they arrive at work.
Mike Ober.
"Bryan Phillips" <bp*******@nospam.crowechizek.com.spammenotwrote in
message news:OF****************@TK2MSFTNGP02.phx.gbl...
>You can run a background job by using the ThreadPool class.
Bryan Phillips MCSD, MCDBA, MCSE Blog: http://bphillips76.spaces.live.com
"vivekian" <vi********@gmail.comwrote in message news:11**********************@i42g2000cwa.googleg roups.com:
Hi,
Need to run a background job which will run everyday and check if any
of the members in the web application have their membership expiration
date approaching and send them a remainder accordingly. How can this
thread / method be scheduled to run background at sometime during the
day.
Thanks in advance
vivekian .
you are probably best writing a windows service application. these are
specifically designed to run "in the background" without any user
interaction
"vivekian" <vi********@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Hi,
Need to run a background job which will run everyday and check if any
of the members in the web application have their membership expiration
date approaching and send them a remainder accordingly. How can this
thread / method be scheduled to run background at sometime during the
day.
Thanks in advance
vivekian .
you are probably best writing a windows service application. these are
specifically designed to run "in the background" without any user interaction
Depends. If that process should run just once a day, a console
application that is started by "Scheduled Tasks" doesn't take up
resources the rest of the day.
If it should run (almost) continously, then you are right.
Hans Kesting
We do the same.
Task scheduler calling a simple app which uses the URLdownloadToFile() win32
api on the web app.
Which invokes a specific batch.
I append the result, which is plain text, to my logfile.
(It calls a generic handler/ashx)
Maybe you'll have luck with window's Wait.exe or similar.
There was an issue the task scheduler could not execute my web app, i tried
explorer but failed, therefore my simple win32 app.
"Michael D. Ober" <obermd.@.alum.mit.edu.nospamschreef in bericht
news:on****************@newsread2.news.pas.earthli nk.net...
Write your application and then use the Task Schedular in Windows to
execute
it every day at the desired time. Given this app, I would choose early
morning hours so the reminder is in their inbox when they arrive at work.
Mike Ober.
"Bryan Phillips" <bp*******@nospam.crowechizek.com.spammenotwrote in
message news:OF****************@TK2MSFTNGP02.phx.gbl...
>You can run a background job by using the ThreadPool class.
Bryan Phillips MCSD, MCDBA, MCSE Blog: http://bphillips76.spaces.live.com
"vivekian" <vi********@gmail.comwrote in message news:11**********************@i42g2000cwa.googleg roups.com:
Hi,
Need to run a background job which will run everyday and check if any
of the members in the web application have their membership expiration
date approaching and send them a remainder accordingly. How can this
thread / method be scheduled to run background at sometime during the
day.
Thanks in advance
vivekian .
Vivekian,
You may wanna check this link: http://www.codeproject.com/aspnet/ASPNETService.asp
Parind.
"Edwin Knoppert" wrote:
We do the same.
Task scheduler calling a simple app which uses the URLdownloadToFile() win32
api on the web app.
Which invokes a specific batch.
I append the result, which is plain text, to my logfile.
(It calls a generic handler/ashx)
Maybe you'll have luck with window's Wait.exe or similar.
There was an issue the task scheduler could not execute my web app, i tried
explorer but failed, therefore my simple win32 app. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Markus Mohr |
last post by:
Hi, everyone,
I have a special problem:
For every monitor resolution in 200 pixel steps from 800 to 1600
pixels I have an image to be shown as centered background-image.
Those images all...
|
by: Peter Williams |
last post by:
Hi All,
I want to write some javascript for a html page which does the
following.
Imagine that the page contains a table with 2 columns and 3 rows, e.g.:
+---+---+
| A | B |
+---+---+
|
by: proximus |
last post by:
Hi,
I am trying to change the background of table TD's. The problem is that
I have no access to the HTML code. SO I am trying to alter this using
Javascript/DOM in an external .js file.
I...
|
by: Viken Karaguesian |
last post by:
Hello all,
I need somehelp with background tiling. I have a sneaking suspicion that
what I want to do is not possible, but I'll ask anyway. :>) First some
background: Here's the site in...
|
by: nicky77 |
last post by:
Hi, I've created a nav bar using a background image for rollover effects. Everything works as I had hoped, however, for some reason it seems that an area of whitespace (the same size of the...
|
by: XedinUnknown |
last post by:
Hi!
I am new to this forum, but not new to web design and programming. Nevertheless, I have never tried to use PNG so extensively in my pages. here's the problem.
First, I have found that the...
|
by: stevedude |
last post by:
CSS newbie again. I have a problem trying to get coffee mug images
within anchor tags to center with my link text for a vertical list
menu. If I use the horizontal/vertical properties of...
|
by: david.karr |
last post by:
If in my CSS I set the "background-color" property on the "body"
element, it only covers the background of the elements defined in the
body, up to the current width and height of the page. However,...
|
by: VividWeb |
last post by:
Hi.
I am relatively new to CSS and HTML but have a basic understanding of most things.
One of my backgrounds is not positioning correctly in IE 7 or AOL. The background behind the content...
|
by: thephatp |
last post by:
I'm having a problem with IE rendering correctly. I'm experimenting with using all div's in my pages now, and I'm not very familiar with the quirks of IE.
I have created a sample page, and I'm...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|
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...
|
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...
|
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...
| |