in reply to Automatically run a web page

Why is this on a web page? What if it gets hits multiple times in a day?

If a task isn't providing web content, it doesn't really belong on a web page. Just write a script to perform the actions, and use some sort of scheduling software (cron on Unix, and you said "NT Task Scheduler", so I guess you're on windows) to run the script periodically.

Do not pervert the web. {grin}

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re: •Re: Automatically run a web page
by Anonymous Monk on Apr 21, 2003 at 18:18 UTC
    Thanks for all the input. This is in a cold fusion page and I would have to write a script to execute this:
    <CFSET IndexCollection = "mysearch"> <CFSET IndexDirectory = "C:\Inetpub\wwwroot\searcher"> <CFSET IndexRecurse = "YES"> <CFSET IndexExtensions = ".htm, .html, .pl, *.,.cfm"> <CFSET IndexLanguage = "english"> <CFINDEX collection="#IndexCollection#" action="REFRESH" type="PATH" key="#IndexDirectory#\" extensions="#IndexExtensions#" recurse="#IndexRecurse#" language="#IndexLanguage#" urlPath="http://127.0.0.1/searcher/" > <HTML><HEAD> <TITLE>data</TITLE> <FONT size="+2"><B>Indexing Finished</B></FONT>
    I dont have any idea how I would make this into a script. Currently it runs when I put in the URL in my browser Location/address then it comes back saying "Indexing Finished" and it updates my search web page.
      ColdFusion has a scheduler built in. On the admin page, click on 'Scheduled Tasks' under 'automated tasks'.