Solved

date and time

Posted on 2000-02-24
5
137 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
  • 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

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Server specifications for web hosting 7 90
Coldfusion Datefield problem 2 97
How do disable only TLSv1.0 in Oracle Sun One 7.1 Server 9 76
DNS @ Naked Domain Record 5 69
In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now