Solved

date and time

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Redundant SQL Servers Without Clustering 7 136
Intranet and Kerberos Authentication (not sharepoint!) 8 154
Nameserver and MX Record 2 81
System Analysis 5 65
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…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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