?
Solved

Simulate a Windows Service using ASP.NET to run scheduled jobs

Posted on 2009-12-30
6
Medium Priority
?
739 Views
Last Modified: 2012-05-08
hi,

i need to develop a scheduled task job using asp.net to send daily emails at specific time, like 8pm every day.

i can do it through windows service, but the problem i host my files in shared hosting, so i can't to use this approach.

i goggled but until now i didn't get the best solution to use it.

i hope someone help me in this case.

thanks.
0
Comment
Question by:hazemfadl
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:magicdlf
ID: 26146585
What about in ASP.NET, you send daily emails whenever you got a special request, then you implement another scheduled task that send the request to your ASP.NET program 8 pm everyday?
0
 

Author Comment

by:hazemfadl
ID: 26146647
hi magicdlf,

thanks for your reply, but i didn't get your point.

i can't make the scheduled task through asp.net

i found this article http://www.codeproject.com/KB/aspnet/ASPNETService.aspx

by Omar Al Zabir, and it's working fine.

but the problem, its not working daily, it's working when someone hit the page not with the timer.

i need to use timer and make the application work without any one hit the page.

also i need to make my application still alive.

0
 
LVL 9

Expert Comment

by:magicdlf
ID: 26146671
Then you just make it working when someone hit the page. And now your task is converted to implement a schedule task(Not in ASP.NET, could be windows service or any other implementation) that send request to ASP.NET every 24 hours. Is that clear?
0
 

Author Comment

by:hazemfadl
ID: 26146744
Dear magicdlf,

could you please provide to me a sample because i am beginner in asp.net.
0
 
LVL 9

Accepted Solution

by:
magicdlf earned 200 total points
ID: 26146959
You need to wait a little bit longer because I am going to sleep. Just try to find it out by yourself or post a new question to draw other experts' attension. Good luck.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question