Why isn't your scheduled template checking a stored
variable to see if it should email you?

Example: query a db upon scheduled event entry to
see if and when last email sent. If time span since is
long enough you can reset var to "doMail". Many
ways to condition the value of the referenced stored
value. also makes it easy to turn off or turn on
other features inside the event.

Pan



----- Original Message -----
From: "Robert M. Saxon, Jr." <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 17, 2000 14:06
Subject: CFSCHEDULER


> I have a task that runs once a minute to check if a web page is down. If it
> is, it emails me.  The problem is that I get an email once a minute as long
> as the page is down.  Is there a way to use CFSCHEDULE or some other method
> to stop/pause (not delete) a task defined in CF Administrator from a CF
> page so that it will stop emailing me until the page is restored?
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
>
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to