October 31st, 2013, 11:25 AM
Problem in cfschedule
Hi, I am still newbie in cold fusion,and i want to ask some help with you all who are experts in cold fusion,My problem is that i want to run myupdate.cfm in scheduler using the <cfscheduler> now my problem is that how can i run my script every one year ?
please help me
Thank you in advance.
October 31st, 2013, 12:19 PM
You can either set the interval to monthly and include logic in the code you run to check the date (or a database table) and only run it every 12 months. Or you can try setting the number of seconds to 31556900 (the number of seconds in a typical year).
October 31st, 2013, 12:28 PM
Originally Posted by kiteless
HI kiteless, Thank you for the reply...okay i will let you know if this will work.I'll be back as soon as i can.
Thank you again for the quick reply