More info on the problem:

If scheduled_task.cfm is called from a scheduled task then a cfdump on the
cfhhtp reveals a server error (Status_Code: 503), with the following content
returned: The server encountered an internal error and was unable to
complete your request. 

If I issue the request for the scheduled_task.cfm in the address bar of the
browser (independent of the scheduled task )all works fine.

So it seems that there is an issue with using <cfhhtp> if the template is
called from a scheduled task?

Cheers
Matt

__________________________

Matt Freer
Senior Programming Developer
GRUDEN PTY LTD
Tel: 02 9299 9462
Fax: 02 9299 9463
Email: [EMAIL PROTECTED]
Web: www.gruden.com


******************************************************
This message and any attachments are confidential to the ordinary user of
the e-mail address to which it was addressed and may also be privileged. If
you are not the addressee you may not copy, forward, disclose or use any
part of the message or its attachments and if you have received this message
in error, please notify the sender immediately by return e-mail and delete
it from your system.

Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, arrive late or contain
viruses. The sender therefore does not accept liability for any errors or
omissions in the context of this message which arise as a result of Internet
transmission.

Before opening or using attachments, check them for viruses and defects. Our
liability is limited to resupplying any affected attachments.
****************************************************** 



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt Freer
Sent: Tuesday, 4 May 2004 3:46 PM
To: CFAussie Mailing List
Subject: [cfaussie] scheduled task

Hey all,

I have a scheduled task setup in the CFMX administrator. The scheduled task
is successfully calling scheduled_task.cfm.

scheduled_task.cfm contains the following cfhttp tag:

<cfhttp url="http://myURL"; method="get"></cfhttp>

For some reason the generated http request is not successful. Can any one
offer an insight as to why?

Thanks in advance,
Matt

__________________________

Matt Freer
Senior Programming Developer
GRUDEN PTY LTD
Tel: 02 9299 9462
Fax: 02 9299 9463
Email: [EMAIL PROTECTED]
Web: www.gruden.com


******************************************************
This message and any attachments are confidential to the ordinary user of
the e-mail address to which it was addressed and may also be privileged. If
you are not the addressee you may not copy, forward, disclose or use any
part of the message or its attachments and if you have received this message
in error, please notify the sender immediately by return e-mail and delete
it from your system.

Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, arrive late or contain
viruses. The sender therefore does not accept liability for any errors or
omissions in the context of this message which arise as a result of Internet
transmission.

Before opening or using attachments, check them for viruses and defects. Our
liability is limited to resupplying any affected attachments.
****************************************************** 



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe
send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to