Link to home
Start Free TrialLog in
Avatar of brihol44
brihol44

asked on

I would like to setup cfschedule (coldfusion) but I'm not sure of all the variables..

I need help in setting up cfschedule but I'm not sure how to....There are variables or parameters that I'm not sure of for this request.

Here are the parameters I have...

1. Page with the script I want to run : update_downloads.cfm
2. Interval of update : every 2 hours
3. path name : #path_name"

Brian
Avatar of meverest
meverest
Flag of Australia image

Hi Brian,

in the URL field, enter the full url of the script you want to run, like:  http://localhost/path/script.cfm

set the timeout to something adequate to complete the script (i.e. if you think that the script will always complete in less than 3 minutes, put '180' (3 minutes) here)

You don't need any of the other fields unless you specifically want them.

Cheers.
Avatar of brihol44
brihol44

ASKER

Ok! Thanks! Do you know what I set so it runs every 2 hours?

Thanks,

Brian
enter any start date, and leave end dat blank.

select 'daily every' out of the three 'frequency' choices, put 'hours 2' 'minutes 0' 'seconds 0', then start time = 00:00:00 and end time = '23:59:00'

Cheers.
Ok Thanks!, Just one last question. I placed the cfschedule in my cfapplication.cfm file. Is this where it can go?

Thanks,

B
ASKER CERTIFIED SOLUTION
Avatar of meverest
meverest
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I coded the cfschedule with your help but the hosting company set it up for me. Thanks for the help!