CFFILE not working right under schedule
Hi, I have a cfm page with just this content:
<cffile action="write" output="Authenticated User#chr(44)#IP Address#chr(44)#Date/Time#chr(44)#Browser#chr(44)#Page#chr(44)#Query#chr(44)#Referrer#chr(44)#Port" file="D:\ColdFusion8\logs\AITE_Test_System\#DateFormat(Now(), "mmm-dd-yyyy")#.csv">
When I run it manually, it works fine. However, when I use <cfschedule action="run" ...>, the file is created as it should, but the output isn't in the file (no CSV headers are present). Data is inserted thought via <cffile action="append" ...> on other pages though (not with cfschedule, just under normal user use)...
Any ideas why? Thanks.
My cfschedule I used to create the task:
<cfschedule action="update" task="CreateLog" startdate="8/8/09" starttime="12:00 AM" interval="daily" operation="httprequest" url="path_to_cfm_page" requesttimeout="60">
