setup a scheduled task in cf admin as per normal.

page:


<cfhttp method="GET" url="http://www.westminster.gov.uk";>

<cfif NOT Contains(CFHTTP.FileContent, "westminster")>
     <cfexecute name="C:\Files\whatever.bat">
</cfif>


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                                
                    "Lovelock,                                                         
                                
                    Richard J"               To:     "'cflist'" <[EMAIL PROTECTED]>    
                      
                    <richard.lovelock        cc:                                       
                                
                    @cgey.com>               Subject:     [ cf-dev ] Scheduled Page?   
                                
                                                                                       
                                
                    05/12/2003 14:34                                                   
                                
                    Please respond to                                                  
                                
                    dev                                                                
                                
                                                                                       
                                
                                                                                       
                                



Anyone know if it is possible to:

1. schedule a page 'x' to run at a set interval in CF Admin
2. in 'page x' ask it to call a page from the web externally (e.g.
www.westminster.gov.uk <http://www.westminster.gov.uk> )
3. Inspect the page contents for the presence of a text string (e.g.
"westminster")
4. If the text is found do nothing, if it isn't found then run a batch file
elsewhere on the server file system (which restarts certain services)

And if the above are possible - how would you go about it?

_______________________________________________________<?xml:namespace
prefix = o ns = "urn:schemas-microsoft-com:office:office" />

*  Regards,
                Richard Lovelock

Westminster City Council - Web Support
Cap Gemini Ernst & Young
Southbank
95 Wandsworth Road
London
SW8 2HG

(     0870 906 7482

_______________________________________________________




=======================================================
This message contains information that may be privileged or confidential
and is the property of the Cap Gemini Ernst & Young Group. It is intended
only for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy,
disseminate, distribute, or use this message or any part thereof. If you
receive this message in error, please notify the sender immediately and
delete all copies of this message.
=======================================================






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to