I have some functions that I want to run automatically at a certain time. For example say every morning at 6:00AM i want one of my CF functions to run that sends an email out to everyone as a reminder.
Right now the only way I see to do this is to have someone visit the website, it then looks if it send the email that day or not, if not it sends it. Is there a way to do this where I don't have to have someone access the website and it was automatic. For example I want it to runand send emails today automatically just in case no one ever goes to the website today.
You can place the code to execute in a cfm script. Then run the script as a scheduled task. You can create scheduled tasks via the CF Administrator, or using cfschedule. See the documentation for more details.
Ah, cfsearching beat me to the easy answer.
Yes ColdFusion has a function called "Scheduled Tasks" that can be set up in the administrator, or by the schedule task tag in the latest versions, to be run on a schedule, imagine that.