timing a script execution

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default timing a script execution

    Can someone plase help me?
    I've got a database of links. And I need to regularly check, whether these
    links are valid or no. In addition, I need to check, whether these linked pages
    contain a certain string. (A link back.)
    Does anyone have a suggestion? How to schedule a task to regularly execute a
    script, handling these functions?

    Many thanx.

    I'm using COLDFUSION MX 7 on Apache and/or IIS, MySQL 4.0.20a, MySQL 3.51 ODBC
    Driver, Win32 platform

    cicovec-at-hotmail Guest

  2. Similar Questions and Discussions

    1. Remote script execution
      Hello Friends, I would be really grateful if someone could help me out with this. I want to write a script that when executed will get lots of...
    2. <img> tag ASP script execution
      I have an asp page that contains a simple insert statement and redirect i.e.: Page1.asp <%oconn.execute "insert into table 1 values(1)"...
    3. execution of script from button
      Hi all: I am a newbie in terms of PERL. Here's what i want to do. I ahve a HTML page that has a button on it. I want a user to click on that...
    4. [PHP] Script Execution Time
      Petya A Shushpanov <mailto:shpa@eastof.ru> on Monday, July 28, 2003 3:41 PM said: You could one up this class by creating another method that...
    5. Script Execution Time
      Could someone pass on a snippet, a function or a technique for measuring script times. It appears the host I am with is having some PHP engine...
  3. #2

    Default Re: timing a script execution

    You can use the ColdFusion scheduler to make the link checker run at set
    intervals. As far as checking the links, you probably want to do CFHTTP
    METHOD="get" (check the docs at
    [url]http://livedocs.macromedia.com/coldfusion/5.0/CFML_Reference/Tags47.htm#1632966[/url]

    If the link is bad, CFHTTP.FileContent will contain "Connection Failure" or
    some such. Otherwise, CFHTTP.FileContent will contain the page. Then you can
    search the page for the particular string you are looking for.


    jdeline Guest

  4. #3

    Default Re: timing a script execution

    OMG, thank you very much.
    You seved me at least another 6 hours of GOOGLING.
    cicovec-at-hotmail Guest

  5. #4

    Default Re: timing a script execution

    OMG, thank you very much.
    You seved me at least another 6 hours of GOOGLING.
    cicovec-at-hotmail Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139