Skip to main content
Inspiring
December 31, 2006
Answered

AutoRun

  • December 31, 2006
  • 2 replies
  • 381 views
Hi,

I need to, from the server, autorun some kind of functions of cfm page every 30 seconds to update a database from XML files content. I can do it manually by accessing the page. but would like to no be involve on the process and let the server do it on it's own.

something like a refresh but on the server side with no user involve.

I tried with <cfexecute> with no success.

any idea?

many thanks
This topic has been closed for replies.
Correct answer Dan_Bracuk
Another way is to schedule the job to run once on the adminstrator page. Then have it refresh every 30 seconds.

To figure out the 30 seconds part, google "coldfusion sleep"
For refreshing google "meta refresh"

2 replies

Dan_BracukCorrect answer
Inspiring
December 31, 2006
Another way is to schedule the job to run once on the adminstrator page. Then have it refresh every 30 seconds.

To figure out the 30 seconds part, google "coldfusion sleep"
For refreshing google "meta refresh"
Inspiring
December 31, 2006
You can schedule jobs on the admin page. Don't know if the frequency can be less than a minute though.

There is also a cfschedule tag that might help.