You have a form based login on that url, thus why the scheduled task wont
run.The username/password fields in the cfschedule tag are for web server
authentication. You need to exclude the scheduled task outside of your login
routine or use webserver authentication instead.



On Fri, Mar 11, 2011 at 9:00 PM, Scott Williams
<[email protected]>wrote:

>
> Hi all --
>
> I'm trying to use CFSchedule to have automatic emails sent. I don't have
> access
> to the CF Administrator, so I'm using the CFSchedule tag. So far it hasn't
> worked. Here's my code:
>
> <cfschedule action="update" task="eMailToDoList" operation="HTTPRequest"
> url="http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm";
> startdate="1/1/2011" starttime="12:00 PM" enddate="12/31/2011"
> username="SF300"
> password="Sw578668" interval=once resolveurl="no" publish="no">
>
> I included this code in a template, uploaded it to the website, then ran
> the
> page that contains it. No error messages, so knock wood.
>
> I next sent and ran a template with this code:
>
> <cfschedule action="run" task="eMailToDoList">
>
> My expectation was that the template
> http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm would
> run. I
> did not receive an email. The DailyWhatToDoTodayEmail.cfm page works just
> fine.
>
> Any idea about why this isn't working?
>
> Scott
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342944
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to