If you set the Application timeout to 14 days, then your server will hold
the application variables in memory for up to 14 days of absolutely no
activity without clearing them. Setting it to 14 days does not mean that
after two weeks your application will restart.
If you want to set an auto
Thanks for the info. So do you think it would be out of the ordinary for most
CF Admins to set createTimeSpan for 14 or more
days?
I do think this would be out of the ordinary. That's not to say that
it shouldn't be done in some cases. But usually, most CF admins tend
to stick fairly close
Usually there's an applicationTimeout flag set. I often set it to 2 days
(createTimeSpan(2,0,0,0)).
If that is the case, onApplicationStart will run the first time your
application is accessed after that timeout. You'd want to factor that into
it as well.
You could also write out a file
On average, how often should a CF server be rebooted, assuming the server is
not being rebooted to fix a problem. I have an app
that runs once, each time function OnApplicationStart runs, and I'm trying to
get an idea of how often the app may run. Any info
from any CF Admins would be
Thanks for the info. So do you think it would be out of the ordinary for most
CF Admins to set createTimeSpan for 14 or more days?
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House
I'm not sure how this affects your discussion.
But we commonly go months and months between server reboots.
Also it should be understood that the application timeout value is how
long the server waits for another request. I.E if your timeout is 14
days, then the application will with that
: Coldfusion Server Reboot
Thanks for the info. So do you think it would be out of the ordinary for
most CF Admins to set createTimeSpan for 14 or more days?
~|
Want to reach the ColdFusion community with something they want? Let them
Alan Rother wrote:
If you want to set an auto refresh on your application variables, to force
them to refresh, then I would create a scheduled tasks that passes in a url
var which could trigger the onApplicationStart from the onRequestStart
I find it can be extremely helpful to do that with
8 matches
Mail list logo