If I let the scheduler run the tasks as scheduled I get the same messages in 
scheduler.log that say the tasks ran successfully but they really haven't.

If I copy the URLs in the scheduled task setup page and drop them into a 
browser and run them they work fine.

The first thing to check when this happens is the permissions of the resources 
being accessed.  When you run the resource with a URL in a browser, your 
creditionals are passed to the server and used to determine access to the 
resource.  When it's done as a scheduled task, the credetionals of the CF 
service is used, "localSystem" by default on a Windows install of CF.

If the CF user does not have permission to the resource - a HTML error page is 
returned.  According to a scheduled task this is a success.  It can't tell what 
the task was supposed to do, so anything returned is a success.  If you turn on 
the "log results" feature of the scheduled task, you can see what is returned 
by the process.  If you are experiencing this permission problem you can see 
the error message indicating this.

The solution for this is to have the CF logon user have the necessary 
permissions to access the required resources.


--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:266248
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to