Skip to main content
June 24, 2010
Question

cfschedule problem

  • June 24, 2010
  • 1 reply
  • 877 views

Trying to get cfschedule to run Google every 20 seconds but nothing happens. Here's what I tried

<html>
   <head>
      <title>
      </title>
   </head>
   <body>
      <cfschedule action="update" task="try" operation="httprequest" url="http://www.google.com" startdate="06/24/11" enddate="06/24/11"
                  starttime="9:00 AM" interval="20" resolveurl="yes">
      </cfschedule>
   </body>
</html>

What am I doing wrong ?


This topic has been closed for replies.

1 reply

Inspiring
June 24, 2010

Items to check.

1. Your startdate value is set to next year.  Perhaps you should change it to today.

2. Consider adding publish and path attributes to write the results of your operation to disk in order to examine the results.

CFSCHEDULE documentation

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7c6e.html

June 24, 2010

The dates were today's - don't have block copy because of our security and just copied by hand wrong. Put in publish, file, and path attributes but see nothing.

Looking at the link you gave me now.

Inspiring
June 24, 2010

You might try pointing the URL to a local web page and then examine your web logs to see if the local page is being requested by CF service.