Solved

date and time

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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

18 Experts available now in Live!

Get 1:1 Help Now