The behavior you explained is expected. onApplicationStart() isn¹t
triggered until the first request to the application.

Check out onServerStart and Server.cfc

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS7AC9408A-1AC6-4ab7-9C8
E-CF1DA8FCA16D.html




On 4/1/14, 11:31 AM, "morchella" <[email protected]> wrote:

>
>so i am trying some thing out on localhost befor i move to dev
>i want to know when my cf server was started or restarted.
>so after my onApplicationStart
>i put in a cfmail and fir up an instance of cf9 for my localhost.
>
>i dont get the email unless i actually goto 127.x.x.x to view a page.
>i thought i should get it imeditaly when the server starts?
>
>how would or should i be doing this.
>thanks a bunch.
>will help to know when offshore reboots some thing with out informing us.
>
>-m
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358273
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to