Solved

date and time

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 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