Are you aware that you can schedule tasks using a nice GUI from inside of ColdFusion Administrator?
The problem might be related to setting the start time to now(), since the CF scheduler is checked for new jobs to process on an interval basis, not on a continual basis. Try scheduling the execution time for 20 minutes in the future to see if those emails go out. Scheduling a task to run now isn't much of a schedule. Schedule implies that it happens in the future. Why not run the email code inline? If you have a predefined scheduled task that you want to run on an ad-hoc basis, you can pass in action="run" and skip those other parameters. -Mike Chabot On Fri, Mar 26, 2010 at 11:53 AM, daniel kessler <[email protected]> wrote: > > I'm trying to get cfschedule to send out an email. I've checked out a few > tutorials and I don't see the problem I'm having. > > I have a page to set the cfschedule and it contains: > <cfschedule > action="update" > task="facilities_daily_notification" > interval="60" > operation="httprequest" > startdate="#now()#" > starttime="#now()#" > > url="http://sph.umd.edu/home/facilities_request/email/daily_notifcation.cfm" >> > > > The daily_notification.cfm page contains: > > <cftry> > <cfmail > TO = "[email protected]" FROM = "Daniel > Kessler<[email protected]>" SUBJECT = "Email Notification Test" TIMEOUT = "30" > failto = "[email protected]"> > > Hey man, good morning! So I guess this thing works... > </cfmail> > > <cfcatch type="any"> > There was a problem sending the message to the mail server. Please try again > later.<br> > <cfoutput> > #cfcatch.Message# <br> > (#cfcatch.type#) > </cfoutput> > <cfabort> > </cfcatch> > </cftry> > > > > I've tried the daily_notification.cfm page and it sends an email if I just > run that, but I can't get it to run as a scheduled task. > > help?! > > > thanks. > > > daniel > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332328 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

