• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

AutoRun

Explorer ,
Dec 31, 2006 Dec 31, 2006

Copy link to clipboard

Copied

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
TOPICS
Advanced techniques

Views

336

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Dec 31, 2006 Dec 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"

Votes

Translate

Translate
LEGEND ,
Dec 31, 2006 Dec 31, 2006

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 31, 2006 Dec 31, 2006

Copy link to clipboard

Copied

LATEST
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"

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation