This is the first time I've used cfschedule.  I'm in a shared hosting 
environment so I can do very little checking to see if I did this right or 
whatever the problem might be.

I'm creating a new scheduled task. I can create it using update, but I cannot 
run it.

<cfschedule 
        action="update"
        url="update_rss_feeds.cfm" 
        task="update_rss_feeds" 
        operation = "HTTPRequest"
        interval="3600"
        startDate="#now()#"
        startTime="12:00 AM"
>

<cfschedule 
        action="run"
        url="update_rss_feeds.cfm" 
        task="update_rss_feeds"
        interval="3600"
        startDate="#now()#"
        startTime="12:00 AM"
>

When I run it, I receive the error, "Connection Failure: Status code 
unavailable" but when I update it (which in this case creates it), I receive no 
error.  I just want it to run another file that does a batch up updates.

Also, if I create it using update, will it just run or do I have to do a run 
command?  When my shared host server goes down will it clear out the tasks and 
if so I have to 'update' it again?

I want this to run once immediately and then at midnight each night.

thanks for any help!




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231932
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to