Yeah, testing it myself is always the last option. :)  Doing so, I found
what I what I was looking for:

HTTP_USER_AGENT=CFSCHEDULE

Thanks,
Jim


----- Original Message -----
From: "Jim Curran" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 4:52 PM
Subject: RE: Only permit execution from CF scheduler


> Test it, have teh scheduler run and in the template , <cfmail> yourself
the
> cgi.REMOTE_ADDR var and then use that.  OTTOMH, It should be one of the
> bound IP's, but which one it chooses seems to be random.
>
> - j
>
> -----Original Message-----
> From: Jim McAtee [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 03, 2002 6:46 PM
> To: CF-Talk
> Subject: Re: Only permit execution from CF scheduler
>
>
> Any idea if will it be returned as 127.0.0.1, or one of the bound IP
> addresses?
>
> Jim
>
>
> ----- Original Message -----
> From: "Jim Curran" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, April 03, 2002 4:19 PM
> Subject: RE: Only permit execution from CF scheduler
>
>
> > You can check that the cgi.REMOTE_ADDR is the IP of the computer the CF
> > scheduler is running on.
> >
> > - j
> >
> > -----Original Message-----
> > From: Jim McAtee [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 03, 2002 6:13 PM
> > To: CF-Talk
> > Subject: Only permit execution from CF scheduler
> >
> >
> > I'd like to only permit the running of a certain template through the CF
> > scheduler.  I know this is easily done by simply placing the source
> > directory outside of the web space, but for a couple of reasons this
> > particular template needs to be in a web-accessible directory.  I'm
> guessing
> > that there may be one or more CGI variable that would tell me if the
> > scheduler is executing the template.  Any ideas?
> >
> > Jim

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to