Solved

date and time

Posted on 2000-02-24
5
144 Views
Last Modified: 2013-12-24
Myself Ganesh, I want to run a perticular tamplet on a perticular date on a perticular time automatically.how can i do this?
Suppose on 14th of every month at 5:30 P.M. it is needed to send a message to every person who's mail address is stored in a database and this should happen autoamtically means cold fusion server should recognise the date and time itself and send the mails.
0
Comment
Question by:pganeshan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 5

Expert Comment

by:nathans
ID: 2556797
Well there are several questions you have to ask yourself.

1. Do you host your site or Do you have access to the machine coldfusion is on to setup Scheduling?

2. If not is your site very busy. So that you could test for the date and time?

3. If not then Can you make sure you have a browser open and connected to the net to browse the page while it refreshes?

Of course I would use cfmail.


Nathan Stanford
Mr. ColdFusion
http://www.nsnd.com/cftips





0
 

Author Comment

by:pganeshan
ID: 2557266
Edited text of question.
0
 
LVL 5

Expert Comment

by:nathans
ID: 2557965
There is a ColdFusion Scheduler and a NT Scheduler so it depends on if you own the SERVER or not.

EX:  If not then you can not make the decision without your hosting company to allow NT Scheduler or ColdFusion Scheduler to run.

0
 

Accepted Solution

by:
BAdrian1 earned 3 total points
ID: 2574025
Actually, here's how you can do this.

To have a template run at certain times and/or on certain days, you can...

use the CF administrator scheduler function to have the template run at the time(s) you specify.  When the scheduled event is run the server logs when the process starts and stops and if any errors are generated.  


If you don't have access to the CF administrator functions, then use a <CFSCHEDULE> tag in the template....CFSCHEDULE "registers" the event with the server in much the same way events get registered by a CF admin.  

The only problem would be if you go through a ISP that restricts use of the CF administrator or <CFSCHEDULE> tag.  If that is the case, request an exception.  
0
 
LVL 5

Expert Comment

by:nathans
ID: 2575076
I believe that is what I said.
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

729 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