Sure, that is curious. If you may ever get to the bottom of things, it would be 
interesting to hear. Thanks for the update.

/charlie



From: [email protected] [mailto:[email protected]] On Behalf Of 
Xiaofeng Liu
Sent: Wednesday, November 18, 2015 5:07 PM
To: [email protected]
Subject: Re: Re[2]: [cfaussie] CF11 Scheduled Task Not Running - 401 
Unauthorized

 

Hi Charlie, 

 

I originally was using a URL like "http://localhost:1981/cron/schedTask.cfm"; to 
run the scheduled task. So that was the URL I specified in CF Admin. That threw 
401 to me.

 

Also I tested from the browser by accessing the same URL which is 
"http://localhost:1981/cron/schedTask.cfm"; (normal and icognito mode) and it is 
working fine.

 

So now I have to update the URL to use the server's public IP address in CF 
Admin and it works. I don't understand why CF running locally on the same 
server has to use the external IP, I mean not the localhost to run the sched 
task that is also on the same server? Given that localhost is also in the host 
file.

 

Cheers,

Xiaofeng

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

Reply via email to