cfschedule not sending email
Hi all, I did a test setting the cfschedule startdate and starttime, I split up the query and cfmail to seperate pages as investigating cfschedule it appears that is what I need to do: http://forums.adobe.com/thread/446604 but nothing happened. Will this not happen automatically? Why did it not work? (cfmail and the query are correct) Thanks
mailp.cfm
<cfschedule action="Update"
task="testone"
operation="HTTPRequest"
url="http://www.mydomain.com/protect/actmail.cfm"
startdate="05/30/2012"
starttime="15:30:00"
interval="ONCE"
resolveurl="No"
publish="No">
qry_mailer.cfm
<cfquery name="qNames" datasource="salesdb">
select * from company, industries, division
where Date(company.meeting) = '2012-05-30'
and company.SECTORS1 = industries.SECTORSIDS
and division.DEPARTMENTIDS = company.DEPARTMENT1
ORDER BY company</cfquery>
actmail.cfm
<cfmail to="barney@bedrock.com"
from="barney@bedrock.com"
subject="Email test"
type="html">
<cfloop query = "qNames">
#qNames.departmentnom#<br>
#qNames.phone#<br>
</cfloop>