I designed a job bank where employers can submit jobs. Does anyone know the cf tags to email them to remind after a month if the job had been filled in or not?
You'll need to schedule the execution of a template that runs queries and based on the results sends some emails.
The tags for that template are a seperate issue... but to setup a routine for automatically having CF server access the template you'll need to use a very advanced feature called CF Scheduler in the Administrator pages:
YourWebserver/cfide/administrator/
Under automated tasks you can setup scheduled tasks. You can create a custom method using the tag CFSCHEDULE to allow people other than admins create tasks, but for your uses, as long as you have access to the admin section you can setup a task.
Task has: name, type, date span, and interval
Name is whatever you name it. The type is usually HTTPrequest (its just hitting whatever .CFM). The date span is from whatever date to Indefinitely or to another date. And the interval is every 5 minutes, every 1st of the month.. etc.
As I said, the code for the template to execute is another matter.
There is a "calendar" application you can download/hack into pieces that includes this functionality. It is set to send emails/icq messages to people based on their "appointment" calendar.
I think you could cut and paste the neccessary code from it..
download the "Appointment Calendar" here if you like:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.