Is the CF scheduler Reliable?
How reliable is the CF Scheduler? For years we have used the infusion mailserver and its Infusion Scheduler App/Service. Its always worked great but since that product is dead/no longer supported, we need to find a new way of running scheduled tasks and adding/removing scheduled task programmatically. In the past I have seen lots of posts about the built in scheduler being unreliable. What I need to know is can the built in scheduler be used reliably for mission critical applications? Thanks for your input! Brook ~| 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:348954 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Is the CF scheduler Reliable?
On 6/12/2011 10:25, Brook Davies wrote: How reliable is the CF Scheduler? For years we have used the infusion mailserver and its Infusion Scheduler App/Service. Its always worked great but since that product is dead/no longer supported, we need to find a new way of running scheduled tasks and adding/removing scheduled task programmatically. In the past I have seen lots of posts about the built in scheduler being unreliable. We have no issues with the scheduler and we had the same problem as you being iMS junkies. Set a schedule to run every minute and one second and call the same page that you were calling with your iMS scheduler and it can sort out what really needs to run. BTW, if you are using Railo it can schedule tasks in seconds not minutes. Useful sometimes. -- Yours, Kym Kovan mbcomms.net.au ~| 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:348955 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Is the CF scheduler Reliable?
I think the ColdFusion scheduler works great and can be used for mission-critical applications. I don't think you will find too many fundamental complaints about using it, unless perhaps you are looking at complaints from 10 years ago. Occasionally you will see comments about a scheduled task not executing, but I think all of these end up being user error where people don't enter a configuration setting correctly, or they have an error in the page being executed. Other times you will see comments about a task running more than once, but most of these are people forgetting that they set up the same scheduled task on a development or test server. I can't think of too many issues with using the cfscheduler that are not ultimately the result of user error. The daylight saving time clock adjustment can be a source of uncertainty, but this would be the case for any task scheduler. If a page execution takes longer than the scheduled repeating interval, say it takes 15 minutes to run a page that is scheduled to run every five minutes, and there is no multi-threading protection in the code, then this can be another source of problems. -Mike Chabot On Mon, Dec 5, 2011 at 6:25 PM, Brook Davies cft...@logiforms.com wrote: How reliable is the CF Scheduler? For years we have used the infusion mailserver and its Infusion Scheduler App/Service. Its always worked great but since that product is dead/no longer supported, we need to find a new way of running scheduled tasks and adding/removing scheduled task programmatically. In the past I have seen lots of posts about the built in scheduler being unreliable. What I need to know is can the built in scheduler be used reliably for mission critical applications? Thanks for your input! Brook ~| 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:348956 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Is the CF scheduler Reliable?
Thank you for the replies. Full steam ahead with CF Scheduler. Kym, it's a shame Infusion just vanished into thin air eh? I mean WTF? I loved their software! Briook -Original Message- From: Kym Kovan [mailto:dev-li...@mbcomms.net.au] Sent: December-05-11 3:50 PM To: cf-talk Subject: Re: Is the CF scheduler Reliable? On 6/12/2011 10:25, Brook Davies wrote: How reliable is the CF Scheduler? For years we have used the infusion mailserver and its Infusion Scheduler App/Service. Its always worked great but since that product is dead/no longer supported, we need to find a new way of running scheduled tasks and adding/removing scheduled task programmatically. In the past I have seen lots of posts about the built in scheduler being unreliable. We have no issues with the scheduler and we had the same problem as you being iMS junkies. Set a schedule to run every minute and one second and call the same page that you were calling with your iMS scheduler and it can sort out what really needs to run. BTW, if you are using Railo it can schedule tasks in seconds not minutes. Useful sometimes. -- Yours, Kym Kovan mbcomms.net.au ~| 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:348958 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF-Scheduler - multiple tasks starting at the same time
Dave said: - I haven't really noticed any specific problems with that, but if the two tasks work with any shared data, the possibility certainly exists for problems to occur. What kind of strange behavior are you seeing? Thanks, Dave. Unfortunately I don't have details about the strange behavior other than applications 'stopped working' and 'they started working again after we reran all the scheduled tasks'. Turns out we have several groups of 2 - 4 scheduled tasks where all tasks in a group start at the same time, and on top of that we're load balanced across two servers. I suspect you are right about shared data if it turns out that the scheduled tasks really are the source of the problem. Ian said: The first thing I would look at are there any race conditions, concurrency or other logic problems when all of these requests are made at the same time. Thanks, Ian. This is second on my to do list after we see what happens with the next cycle of these scheduled tasks (first on my list is below). Claude said: Confuse, probably not, but cause a bottle neck on the sever, possible. We have also some scheduled tasks, and we programmed them to be scheduled at least 1 min appart. Right, I try for 5 min apart but settle for 1 min if I have to. I don't know how we ended up with all these concurrent start times but it's at the top of my list to break them out into individual start times. George ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316713 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF-Scheduler - multiple tasks starting at the same time
Is there a fundamental problem with having two or more scheduled tasks start at the same time? Does this confuse CF? We have started to experience some strange behavior with CF scheduled tasks that run quick queries against Oracle and DB2 and write the returned answer sets into .js files. We have lots of these scheduled tasks, sometimes with up to four of them having the same start time. We're running CF7 on Unix. Thanks! George ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316572 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF-Scheduler - multiple tasks starting at the same time
Is there a fundamental problem with having two or more scheduled tasks start at the same time? Does this confuse CF? We have started to experience some strange behavior with CF scheduled tasks that run quick queries against Oracle and DB2 and write the returned answer sets into .js files. We have lots of these scheduled tasks, sometimes with up to four of them having the same start time. We're running CF7 on Unix. I haven't really noticed any specific problems with that, but if the two tasks work with any shared data, the possibility certainly exists for problems to occur. What kind of strange behavior are you seeing? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316573 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF-Scheduler - multiple tasks starting at the same time
Earl, George wrote: Is there a fundamental problem with having two or more scheduled tasks start at the same time? Does this confuse CF? Not a fundamental problem, but a scheduled task is nothing more then an automatic HTTP request to an URL resource no different then if a bunch of humans did the same thing with their browsers. It is not unheard of for internet applications to experience difficulties when a bunch of requests to the same or related resources are made at the same time. The first thing I would look at are there any race conditions, concurrency or other logic problems when all of these requests are made at the same time. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316575 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF-Scheduler - multiple tasks starting at the same time
Does this confuse CF? Confuse, probably not, but cause a bottle neck on the sever, possible. We have also some scheduled tasks, and we programmed them to be scheduled at least 1 min appart. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316580 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF Scheduler Help
Thanks. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 11:37 AM To: CF-Talk Subject: RE: CF Scheduler Help But rememberwe're dealing with the Federal Gov't.the motto around here is Security Before Productivity I've used this configuration at several US government agencies, actually. It's just a matter of wording everything appropriately for the auditors. I forgot to include examples. By setting up a virtual web server that only honors requests from the server console, we can increase security by limiting the exposed area of our web server interface. Since this can only be accessed locally, we can also increase monitoring security by not using SSL, which cannot be monitored between endpoints. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288744 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF Scheduler Help
Good Morning, I need help getting the scheduler to work. I work for the government and our machines require PKI certificates. Our sites require SSL. We are running CF 7. I thought the problem was the certs. It appears that they are not the problem, but SSL is. How do I get the scheduler to work with SSL? If I turn SSL off (temporarily), the scheduler works fine. Thanks. ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288568 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF Scheduler Help
I know with CF5 that CFScheduler did not work under HTTPS. I am pretty sure that is the same case with CF7. However I could be wrong so someone else can chime in as well. -Original Message- From: Howell, Craig H Civ WRALC/ITMS [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 10:32 AM To: CF-Talk Subject: CF Scheduler Help Good Morning, I need help getting the scheduler to work. I work for the government and our machines require PKI certificates. Our sites require SSL. We are running CF 7. I thought the problem was the certs. It appears that they are not the problem, but SSL is. How do I get the scheduler to work with SSL? If I turn SSL off (temporarily), the scheduler works fine. Thanks. ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288570 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF Scheduler Help
I need help getting the scheduler to work. I work for the government and our machines require PKI certificates. Our sites require SSL. We are running CF 7. I thought the problem was the certs. It appears that they are not the problem, but SSL is. How do I get the scheduler to work with SSL? If I turn SSL off (temporarily), the scheduler works fine. I recommend that, instead of using SSL where it's not needed, you set up a local virtual web server that only accepts requests from localhost and does not require SSL. SSL involves unnecessary overhead in this case. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288572 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF Scheduler Help
I thought the problem was the certs. It appears that they are not the problem, but SSL is. How do I get the scheduler to work with SSL? If I turn SSL off (temporarily), the scheduler works fine. Why not use the operating systems task scheduler, and a non-CF downloader like wget ? -- Tom Chiverton Helping to challengingly negotiate scalable action-items on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288580 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF Scheduler Help
But rememberwe're dealing with the Federal Gov't.the motto around here is Security Before Productivity -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 10:44 AM To: CF-Talk Subject: RE: CF Scheduler Help I need help getting the scheduler to work. I work for the government and our machines require PKI certificates. Our sites require SSL. We are running CF 7. I thought the problem was the certs. It appears that they are not the problem, but SSL is. How do I get the scheduler to work with SSL? If I turn SSL off (temporarily), the scheduler works fine. I recommend that, instead of using SSL where it's not needed, you set up a local virtual web server that only accepts requests from localhost and does not require SSL. SSL involves unnecessary overhead in this case. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288581 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF Scheduler Help
OK...what is wget? Here's what I need to do. I need to check our dB to see if an action is required by a user (for what we'll call a review). If the user is suppose to go perform a review and the review is 9 days late, I need to send a email to their PHB. I need to check nightly to see if any reviews are required. -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 10:57 AM To: CF-Talk Subject: Re: CF Scheduler Help I thought the problem was the certs. It appears that they are not the problem, but SSL is. How do I get the scheduler to work with SSL? If I turn SSL off (temporarily), the scheduler works fine. Why not use the operating systems task scheduler, and a non-CF downloader like wget ? -- Tom Chiverton Helping to challengingly negotiate scalable action-items on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288583 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Scheduler Help
On Monday 17 Sep 2007, [EMAIL PROTECTED] wrote: OK...what is wget? A command line GNU tool that will fetch an URL for you. Here's what I need to do. I need to check our dB to see if an action is required by a user (for what we'll call a review). If the user is suppose to go perform a review and the review is 9 days late, I need to send a email to their PHB. I need to check nightly to see if any reviews are required. So write your CFML template as normal, and then have the O/S invoke wget on the URL. -- Tom Chiverton Helping to assertively streamline 24/7 features on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288585 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF Scheduler Help
But rememberwe're dealing with the Federal Gov't.the motto around here is Security Before Productivity I've used this configuration at several US government agencies, actually. It's just a matter of wording everything appropriately for the auditors. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288588 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF Scheduler Help
But rememberwe're dealing with the Federal Gov't.the motto around here is Security Before Productivity I've used this configuration at several US government agencies, actually. It's just a matter of wording everything appropriately for the auditors. I forgot to include examples. By setting up a virtual web server that only honors requests from the server console, we can increase security by limiting the exposed area of our web server interface. Since this can only be accessed locally, we can also increase monitoring security by not using SSL, which cannot be monitored between endpoints. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288589 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CF Scheduler Help
Or you can simply load in those SSL certs that you need into the jvm cacerts file so they will be trusted. Of course, you will need to update this when those certs get renewed. The internal method Dave is speaking of is probably for less of a hassle. John Mason [EMAIL PROTECTED] 770.337.8363 www.FusionLink.com - ColdFusion and Flex hosting Now offering ColdFusion 8 Enterprise hosting FREE Subversion hosting -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 10:44 AM To: CF-Talk Subject: RE: CF Scheduler Help I need help getting the scheduler to work. I work for the government and our machines require PKI certificates. Our sites require SSL. We are running CF 7. I thought the problem was the certs. It appears that they are not the problem, but SSL is. How do I get the scheduler to work with SSL? If I turn SSL off (temporarily), the scheduler works fine. I recommend that, instead of using SSL where it's not needed, you set up a local virtual web server that only accepts requests from localhost and does not require SSL. SSL involves unnecessary overhead in this case. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288597 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF scheduler log - does it show errors?
Messing about with logging scheduler events. I'm seeing what I expect - executing and rescheduling entries - but I'm curious if errors in scheduled tasks get logged here as well as the normal application/exception logs? --Scott ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288639 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF scheduler log - does it show errors?
Not that I have seen in cf7.0.x. It used to record if the scheduled event failed to complete in cf5 as best as I can remember. -- Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. Scott Weikert wrote: Messing about with logging scheduler events. I'm seeing what I expect - executing and rescheduling entries - but I'm curious if errors in scheduled tasks get logged here as well as the normal application/exception logs? --Scott ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288663 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Problems with CF scheduler and SSL
I know...I know...This has been said many times. I have searched through the list and have tried many of the answers. I still can't get it to work. I am using windows 2003 with IIS and CFMX7. I have just tried the keytool.exe thing from http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesThreadid=13865forumid=4?? and it still doesn't work. I would really appreciate some help (and pitty ;) ) from some wonderful person. Thanks, Brian [EMAIL PROTECTED] ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247082 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Problems with CF scheduler and SSL
I think this has been mentioned several times... There are alternatives to using keytool... 1. Don't use ssl. If you're running stuff on localhost, there is no need for ssl. 2. Buy a real certificate. These go for less then $30 these days. Russ -Original Message- From: Brian Yager [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 3:16 PM To: CF-Talk Subject: Problems with CF scheduler and SSL I know...I know...This has been said many times. I have searched through the list and have tried many of the answers. I still can't get it to work. I am using windows 2003 with IIS and CFMX7. I have just tried the keytool.exe thing from http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesThreadid=1 3865forumid=4?? and it still doesn't work. I would really appreciate some help (and pitty ;) ) from some wonderful person. Thanks, Brian [EMAIL PROTECTED] ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247084 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Problems with CF scheduler and SSL
Found a workaround (Thanks Dave Watts)... I created a new website and set the IP to 127.0.0.1 I pointed it to the folder I wanted to use and it worked like a charm. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247085 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF Scheduler problem in MX7
I just converted to MX7 and some of my scheduled tasks are not running. I can cut and paste the URL from admin into a web page and they run fine. When I click run in the scheduler it says This scheduled task was completed successfully., but it doesn't actually run. The very first thing I do in the program is write something to a log file and when I check the log there is nothing there. I am pulling out what little hair I have let. Please help (or send Rogaine). Jeff Pratte Notice. This message is intended only for use by the person or entity to which it is addressed. Because it may contain confidential information intended solely for the addressee, you are notified that any disclosing, copying, downloading, distributing or retaining of this message, and any attached files, is prohibited and may be a violation of state or federal law. If you received this message in error, please notify the sender by reply email, and delete the message and all attached files. Thank you. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219358 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CF Scheduler - What if the server is down at the time of a scheduled event?
All: Quick question concerning the CF Scheduler... what happens if the server is down during the time when an event is scheduled to occur? Does the Scheduler just ignore the event and wait until the next recurrence or does it fire the event whenever the server is restarted? TIA -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211564 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Scheduler - What if the server is down at the time of a scheduled event?
The scheduled event would be missed entirely. -Mike Chabot On 7/11/05, Mosh Teitelbaum [EMAIL PROTECTED] wrote: All: Quick question concerning the CF Scheduler... what happens if the server is down during the time when an event is scheduled to occur? Does the Scheduler just ignore the event and wait until the next recurrence or does it fire the event whenever the server is restarted? TIA -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211566 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Scheduler - What if the server is down at the time of a scheduled event?
Thanks Mike. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ Mike Chabot wrote: The scheduled event would be missed entirely. Mosh Teitelbaum wrote: Quick question concerning the CF Scheduler... what happens if the server is down during the time when an event is scheduled to occur? Does the Scheduler just ignore the event and wait until the next recurrence or does it fire the event whenever the server is restarted? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211572 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CF Scheduler?
Any idea why in the log file for scheduler, I see that my Scheduled Task has been initiated and completed but nothing happens. When I run the tasks from the browser (on the server) it runs without a problem and processes the messages as designed? BTW: CF 5 is the server and IE is the browser. --- I must be brain dead and hope someone has a simple answer - ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Scheduler?
Any idea why in the log file for scheduler, I see that my Scheduled Task has been initiated and completed but nothing happens. When I run the tasks from the browser (on the server) it runs without a problem and processes the messages as designed? BTW: CF 5 is the server and IE is the browser. --- I must be brain dead and hope someone has a simple answer -- Make sure your scheduled task code isn't relying on any session vars. Also double-check any url vars and make sure they're in the URL for the task. And lastly, Make sure the same is also true for the first Application.cfm in the directory or any parent directories (all the way to the root of the drive or the *nix root directory) so as to prevent those from causing problems with the scheduled task. iirc any errors which occur on the page being requested won't appear in the scheduler log, they'll appear in the application log like any other error, so if you're running a scheduled task the scheduler log will say ok even if an error occurred on that page because the scheduler was able to receive the page via cfhttp without any 403 forbidden or 404 not found errors. That's what I seem to remember anyway. hth s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
What service is responsible for CF Scheduler?
What service is responsible for CF Scheduler? CF Application Server, CF Executive Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: What service is responsible for CF Scheduler?
CF Executive. HTH, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com - 631-737-4668 x101 inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm - Original Message - From: Bosky, Dave [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, November 18, 2002 9:08 AM Subject: What service is responsible for CF Scheduler? What service is responsible for CF Scheduler? CF Application Server, CF Executive Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
CF Scheduler - URL Name
What should the URL name look like in CF Scheduler (CF 4.5.2) Should I use a CF Mapping ? Bartee Lamar www.enterpriseenergy.com http://www.enterpriseenergy.com/ MSN mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Scheduler - URL Name
The URL should look the same as it would if you ran it from a web browser. IE: http://www.enterpriseenergy.com/directory/scheduledpage.cfm Should I use a CF Mapping ? CF mappings only apply to CF tags such as CFINCLUDE. A CF Mapping of bartee would make this code point to that folder from anywhere on the server: CFINCLUDE template=/bartee/runthispage.cfm But a CF mapping is not the same as an IIS mapping. For example, it wouldn't apply in this case: a href=/bartee/runthispage.cfmlink/a Hope that helps! -Cameron - Cameron Childress Sumo Consulting Inc. --- cell: 678-637-5072 aim: cameroncf email: [EMAIL PROTECTED] -Original Message- From: Bartee Lamar [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 8:08 AM To: CF-Talk Subject: CF Scheduler - URL Name What should the URL name look like in CF Scheduler (CF 4.5.2) Should I use a CF Mapping ? Bartee Lamar www.enterpriseenergy.com http://www.enterpriseenergy.com/ MSN mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF Scheduler - URL Name
I just tried setting some scheduled tasks with CFMX using the cfschedule tag, but without success. Has anyone used it much in CFMX and gotten it to work properly? -Original Message- From: Cameron Childress [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 8:20 AM To: CF-Talk Subject: RE: CF Scheduler - URL Name The URL should look the same as it would if you ran it from a web browser. IE: http://www.enterpriseenergy.com/directory/scheduledpage.cfm Should I use a CF Mapping ? CF mappings only apply to CF tags such as CFINCLUDE. A CF Mapping of bartee would make this code point to that folder from anywhere on the server: CFINCLUDE template=/bartee/runthispage.cfm But a CF mapping is not the same as an IIS mapping. For example, it wouldn't apply in this case: a href=/bartee/runthispage.cfmlink/a Hope that helps! -Cameron - Cameron Childress Sumo Consulting Inc. --- cell: 678-637-5072 aim: cameroncf email: [EMAIL PROTECTED] -Original Message- From: Bartee Lamar [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 8:08 AM To: CF-Talk Subject: CF Scheduler - URL Name What should the URL name look like in CF Scheduler (CF 4.5.2) Should I use a CF Mapping ? Bartee Lamar www.enterpriseenergy.com http://www.enterpriseenergy.com/ MSN mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF Scheduler - Weekly and Monthly events?
On 4/3/02, Jim McAtee penned: I just found this posted in the CF forums at macromedia.com. Is it true? --- Interval refers to the period of time that the scheduler will execute relative to the startdate and starttime set in the cfschedule tag. If interval is set to Monthly and startdate is set to april 1st and enddate is set to be perpetual then 30 days later the scheduler will execute on april 30th (not May 1st) and 30 days after that (May 29th) and so on. Monthly does not take into account the 1st day of each month. That seems rather ludicrous as it isn't monthly at all. Who schedules something to run every 30 days? -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ 954.721.3452 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Only permit execution from CF scheduler
I'd like to only permit the running of a certain template through the CF scheduler. I know this is easily done by simply placing the source directory outside of the web space, but for a couple of reasons this particular template needs to be in a web-accessible directory. I'm guessing that there may be one or more CGI variable that would tell me if the scheduler is executing the template. Any ideas? Jim __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Only permit execution from CF scheduler
You can check that the cgi.REMOTE_ADDR is the IP of the computer the CF scheduler is running on. - j -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 6:13 PM To: CF-Talk Subject: Only permit execution from CF scheduler I'd like to only permit the running of a certain template through the CF scheduler. I know this is easily done by simply placing the source directory outside of the web space, but for a couple of reasons this particular template needs to be in a web-accessible directory. I'm guessing that there may be one or more CGI variable that would tell me if the scheduler is executing the template. Any ideas? Jim __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Only permit execution from CF scheduler
Any idea if will it be returned as 127.0.0.1, or one of the bound IP addresses? Jim - Original Message - From: Jim Curran [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 4:19 PM Subject: RE: Only permit execution from CF scheduler You can check that the cgi.REMOTE_ADDR is the IP of the computer the CF scheduler is running on. - j -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 6:13 PM To: CF-Talk Subject: Only permit execution from CF scheduler I'd like to only permit the running of a certain template through the CF scheduler. I know this is easily done by simply placing the source directory outside of the web space, but for a couple of reasons this particular template needs to be in a web-accessible directory. I'm guessing that there may be one or more CGI variable that would tell me if the scheduler is executing the template. Any ideas? Jim __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Only permit execution from CF scheduler
Test it, have teh scheduler run and in the template , cfmail yourself the cgi.REMOTE_ADDR var and then use that. OTTOMH, It should be one of the bound IP's, but which one it chooses seems to be random. - j -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 6:46 PM To: CF-Talk Subject: Re: Only permit execution from CF scheduler Any idea if will it be returned as 127.0.0.1, or one of the bound IP addresses? Jim - Original Message - From: Jim Curran [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 4:19 PM Subject: RE: Only permit execution from CF scheduler You can check that the cgi.REMOTE_ADDR is the IP of the computer the CF scheduler is running on. - j -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 6:13 PM To: CF-Talk Subject: Only permit execution from CF scheduler I'd like to only permit the running of a certain template through the CF scheduler. I know this is easily done by simply placing the source directory outside of the web space, but for a couple of reasons this particular template needs to be in a web-accessible directory. I'm guessing that there may be one or more CGI variable that would tell me if the scheduler is executing the template. Any ideas? Jim __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Only permit execution from CF scheduler
Yeah, testing it myself is always the last option. :) Doing so, I found what I what I was looking for: HTTP_USER_AGENT=CFSCHEDULE Thanks, Jim - Original Message - From: Jim Curran [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 4:52 PM Subject: RE: Only permit execution from CF scheduler Test it, have teh scheduler run and in the template , cfmail yourself the cgi.REMOTE_ADDR var and then use that. OTTOMH, It should be one of the bound IP's, but which one it chooses seems to be random. - j -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 6:46 PM To: CF-Talk Subject: Re: Only permit execution from CF scheduler Any idea if will it be returned as 127.0.0.1, or one of the bound IP addresses? Jim - Original Message - From: Jim Curran [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 4:19 PM Subject: RE: Only permit execution from CF scheduler You can check that the cgi.REMOTE_ADDR is the IP of the computer the CF scheduler is running on. - j -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 6:13 PM To: CF-Talk Subject: Only permit execution from CF scheduler I'd like to only permit the running of a certain template through the CF scheduler. I know this is easily done by simply placing the source directory outside of the web space, but for a couple of reasons this particular template needs to be in a web-accessible directory. I'm guessing that there may be one or more CGI variable that would tell me if the scheduler is executing the template. Any ideas? Jim __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF Scheduler - Weekly and Monthly events?
It's not absolutely clear how the CF scheduler handles weekly or monthly scheduled events. In the CF Administrator, it requires a time of day, but doesn't ask for a day of month, or a day of week. I assume then that monthly scheduled task must go off on the day of month that coincides with the Start Date? I.E., if you schedule something to start on 05/03/2002, then it would always execute on the third of the month? Similarly, with weekly scheduled events, does it figure out what day of week the start date happens to fall on, then run the task on that same weekday each week? One thing that must be a bug in the CF Administrator (CF5) is that when you edit a weekly or monthly event, it always resets the select box back to Daily. Jim __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF Scheduler - Weekly and Monthly events?
I just found this posted in the CF forums at macromedia.com. Is it true? --- Interval refers to the period of time that the scheduler will execute relative to the startdate and starttime set in the cfschedule tag. If interval is set to Monthly and startdate is set to april 1st and enddate is set to be perpetual then 30 days later the scheduler will execute on april 30th (not May 1st) and 30 days after that (May 29th) and so on. Monthly does not take into account the 1st day of each month. --- If so, I'm obviously going about scheduling something for the first of every month all wrong. I would need to schedule the task to run daily and then have the template check the date to see if it's the first. Jim - Original Message - From: Jim McAtee [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 5:21 PM Subject: CF Scheduler - Weekly and Monthly events? It's not absolutely clear how the CF scheduler handles weekly or monthly scheduled events. In the CF Administrator, it requires a time of day, but doesn't ask for a day of month, or a day of week. I assume then that monthly scheduled task must go off on the day of month that coincides with the Start Date? I.E., if you schedule something to start on 05/03/2002, then it would always execute on the third of the month? Similarly, with weekly scheduled events, does it figure out what day of week the start date happens to fall on, then run the task on that same weekday each week? One thing that must be a bug in the CF Administrator (CF5) is that when you edit a weekly or monthly event, it always resets the select box back to Daily. Jim __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF Scheduler problem
Hi all, CF 4.5.1 SP2 Win 2K Server Local intranet I put a task in the Scheduler via the Admin page. (It uses cf_mail to send a test alpha pager message to a small group, with a corresponding confirm message to their mailbox.) Start date, no End date. Recurring daily at 11:00:00 Operation: HTTPRequest URL = .cfm page on a local box The day I put it in the scheduler (7/30/01), the task worked fine. The next day (7/31/01) it worked fine. Since then, it has not worked at all. Scheduler.log shows: Information,TID=752,08/01/01,10:52:35,Refreshing scheduled task list initiated. Information,TID=752,08/01/01,10:52:35,Refreshing scheduled task list completed. Information,TID=1424,08/01/01,11:00:35,Scheduled action Pagertest, template safari/it/frstest/mailtest.cfm submission initiated. Information,TID=1424,08/01/01,11:00:35,Scheduled action Pagertest, template safari/it/frstest/mailtest.cfm submitted successfully. But *only* on the first two days did the log show: Information,TID=752,07/31/01,15:46:35,Scheduling task Pagertest. Information,TID=752,07/31/01,15:46:35,Task Pagertest next scheduled submission is 11:00:00 AM. Any ideas? Thanks. Ben Braver Information Technology Ultramar Inc. Golden Eagle Refinery 150 Solano Way Martinez, CA 94553-1487 (925) 370-3673 voice (925) 370-3393 fax (510) 716-2557 pager [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF Scheduler problem (resolved?)
FYI, I *think* I found the problem -- Sorry, I guess I didn't understand from the log that the task WAS submitted successfully, but the MAIL message failed. When I thought to check the mail.log file, I found: SMTP server replied Unable to connect to mail server. Looks like our corporate infrastructure folks did a number on us again - can't ping the server now sigh. Thanks anyway, -Ben = Hi all, CF 4.5.1 SP2 Win 2K Server Local intranet I put a task in the Scheduler via the Admin page. (It uses cf_mail to send a test alpha pager message to a small group, with a corresponding confirm message to their mailbox.) Start date, no End date. Recurring daily at 11:00:00 Operation: HTTPRequest URL = .cfm page on a local box The day I put it in the scheduler (7/30/01), the task worked fine. The next day (7/31/01) it worked fine. Since then, it has not worked at all. Scheduler.log shows: Information,TID=752,08/01/01,10:52:35,Refreshing scheduled task list initiated. Information,TID=752,08/01/01,10:52:35,Refreshing scheduled task list completed. Information,TID=1424,08/01/01,11:00:35,Scheduled action Pagertest, template safari/it/frstest/mailtest.cfm submission initiated. Information,TID=1424,08/01/01,11:00:35,Scheduled action Pagertest, template safari/it/frstest/mailtest.cfm submitted successfully. But *only* on the first two days did the log show: Information,TID=752,07/31/01,15:46:35,Scheduling task Pagertest. Information,TID=752,07/31/01,15:46:35,Task Pagertest next scheduled submission is 11:00:00 AM. Any ideas? Thanks. Ben Braver Information Technology Ultramar Inc. Golden Eagle Refinery 150 Solano Way Martinez, CA 94553-1487 (925) 370-3673 voice (925) 370-3393 fax (510) 716-2557 pager [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF SCHEDULER
I have a page that if I run it in a browser it works fine. It processes the following code: CFHTTP method="get" url="http://www.blah.com/blah.cfm" CFSET newsindx = #CFHTTP.FILECONTENT# CFSET session.newsindxfilename = "#session.directory#\newsindx.htm" CFSET session.newsindxbody= "#newsindx#" !--- CFOUTPUT#newsindx#/CFOUTPUT --- CFLOCATION URL="newspublishnewsindx.cfm" Now if I run it manually it grabs the code from the CFHTTP, and then the CFLOCATION tag just pushes all the variables to another page to WRITE the file out on our server. It actually builds an HTML file. This all works fine IF I put the URL in the browser and do it manually. However if i do it through the scheduler it runs, says it's been successful but never really updates the page. Are there any issues I am unaware of with Scheduler that would cause this? Are there any other ways to schedule? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF SCHEDULER
Try adding a token (addtoken="yes") on the cflocation. The CF Scheduler is really just a timed call to CFHTTP, and CFHTTP doesn't do cookie based session management. -Original Message- From: Kelly Matthews [mailto:[EMAIL PROTECTED]] Sent: Friday, April 06, 2001 12:06 PM To: CF-Talk Subject: CF SCHEDULER I have a page that if I run it in a browser it works fine. It processes the following code: CFHTTP method="get" url="http://www.blah.com/blah.cfm" CFSET newsindx = #CFHTTP.FILECONTENT# CFSET session.newsindxfilename = "#session.directory#\newsindx.htm" CFSET session.newsindxbody= "#newsindx#" !--- CFOUTPUT#newsindx#/CFOUTPUT --- CFLOCATION URL="newspublishnewsindx.cfm" Now if I run it manually it grabs the code from the CFHTTP, and then the CFLOCATION tag just pushes all the variables to another page to WRITE the file out on our server. It actually builds an HTML file. This all works fine IF I put the URL in the browser and do it manually. However if i do it through the scheduler it runs, says it's been successful but never really updates the page. Are there any issues I am unaware of with Scheduler that would cause this? Are there any other ways to schedule? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Client storage (RE: ColdFusion 4.0.1/SPARC/Solaris help sought - registry corruption and cf scheduler problems)
The point is that an over-large registry *significantly* increases that odds of a registry-related failure, and write actions are the worst. Since we identified this issue, we haven't had a single problem with corruption of the registry. If you get the client vars out of it, most of the access is read, not write, which actually causes nearly nill action, since as near as I can tell, the registry is read into memory when CF fires up. If you've got client vars in it, every time CF serves a page, a write occurs, updating the last-access time for the client var. Michael J. Sheldon http://www.desertraven.com/ Make a fast friend, adopt a greyhound! -Original Message- From: Ed Toon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 06, 2000 22:09 To: [EMAIL PROTECTED] Subject: RE: Client storage (RE: ColdFusion 4.0.1/SPARC/Solaris help sought - registry corruption and cf scheduler problems) Well, yeah, using client variables in the registry certainly won't help, but the point is that the registry on Solaris is fubar (we won't get into NT.) I'm not saying everyone should start refreshing their registry every day... I'm saying that it's not difficult at all to find yourself with a very big registry corruption problem, and there's precious little you can do to stop it, other than avoiding the registry like the plague. I'm sure we could all sit here and tell stories about CF's erratic behavior on Solaris for days. ;) Ed (Now I wonder if there's a coorelation between the traffic Solaris sites experience vs. NT sites and the number of gaping errors...) -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: ColdFusion 4.0.1/SPARC/Solaris help sought - registry corruption and cf scheduler problems
My personal opinion is that if you are writing multi platform software using something like the registry is a not so great idea. Heck relying on the registry is a not so great idea just given the chance it has of going corrupt from some other software screwing it up. Where, if you wrote your own configuration database which should not be incredibly complex since I have written something very similar just on a smaller scale for a C program I was working with. I realize they use the registry for things like client variables but I just think the whole idea is a bit hokey and I wouldnt trust it at all. Makes no sense to destabalize your software so much when the solution is not that difficult. Jeremy Allen [EMAIL PROTECTED] -Original Message- From: Ed Toon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 06, 2000 3:44 PM To: [EMAIL PROTECTED] Subject: RE: ColdFusion 4.0.1/SPARC/Solaris help sought - registry corruption and cf scheduler problems I don't think there will ever be any resolution to the registry problems... my suspicion has always been that the problem lied with the Bristol libraries, since Allaire wouldn't say a damn word about it. Granted, they never wanted to talk much about Solaris, but at least they would look at other issues. You might want to try your luck with a premium support ticket, or hunt down someone like Sim Simeonov at Allaire, and maybe they'll actually get you a fix. But my suspicion is that they'll just tell you to upgrade. What we ended up doing was regularly pulling one machine out, replacing the registry, rebooting... crappy? Yes! But it at least keeps up the appearance of functioning servers. Good luck, Ed. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Client storage (RE: ColdFusion 4.0.1/SPARC/Solaris help sought - registry corruption and cf scheduler problems)
If you're using client vars, get them into a database. If you're not using them, make absolutely sure they're not enabled anywhere. I'd like to strongly second this recommendation. No one, under any circumstances, should store client variables for an application within the registry. The registry, under NT or Solaris with WindU, isn't a good repository for volatile data. That's not what it's designed for, and it will fail. Export your registry, the only client var entries you should see will be from use of the CF Administrator application. (Though why in all of heaven and earth they are enabled there, I'll never know.) You can actually move these out as well, by changing the default client storage repository to a specific database. Of course, the problem with this is that if the database becomes unavailable, you won't be able to run the CF Administrator. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Client storage (RE: ColdFusion 4.0.1/SPARC/Solaris help sought - registry corruption and cf scheduler problems)
This has nothing to do with client variables. Cold Fusion uses the Registry a great deal itself internally. For example, all datasource info, scheduled tasks, etc... Most of this is done when the service starts up, and reads the data from the Registry. The Registry isn't designed to store volatile data. It's a repository for configuration data. CF doesn't actually interact much with the registry during normal operations. If you were going to measure registry reads and writes from CF on a busy CF server (using NTREGMON from http://www.sysinternals.com/ for example), you'd find them to be negligible. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
ColdFusion 4.0.1/SPARC/Solaris help sought - registry corruption and cf scheduler problems
We are still using CF 4.0.1 due to an inability to get 4.5.1 to consistently run on our SPARC Solaris 2.6 systems. While we are impatiently waiting for help from support, we have been seeing a two part problem in CF 4.0.1. First, we see the CF Scheduler after running a few days stop running. Within another day or two (of doing things like stopping and restarting ColdFusion, etc.) suddently ColdFusion no longer will run at all, reporting a corrupt Registry. If at that point in time we recover the Registry from a backup previous to when ColdFusion Scheduler quit working, the Scheduler starts up again. We are in need of tips, pointers, tools to analyze the Registry problem, etc. Any information you might be able provide to enable us to work out this problem would be appreciated. -- Never apply a Star Trek solution to a Babylon 5 problem. Larry W. Virden mailto:[EMAIL PROTECTED] URL: http://www.purl.org/NET/lvirden/ Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: ColdFusion 4.0.1/SPARC/Solaris help sought - registry corruption and cf scheduler problems
I don't think there will ever be any resolution to the registry problems... my suspicion has always been that the problem lied with the Bristol libraries, since Allaire wouldn't say a damn word about it. Granted, they never wanted to talk much about Solaris, but at least they would look at other issues. You might want to try your luck with a premium support ticket, or hunt down someone like Sim Simeonov at Allaire, and maybe they'll actually get you a fix. But my suspicion is that they'll just tell you to upgrade. What we ended up doing was regularly pulling one machine out, replacing the registry, rebooting... crappy? Yes! But it at least keeps up the appearance of functioning servers. Good luck, Ed. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Client storage (RE: ColdFusion 4.0.1/SPARC/Solaris help sought - registry corruption and cf scheduler problems)
This has nothing to do with client variables. Cold Fusion uses the Registry a great deal itself internally. For example, all datasource info, scheduled tasks, etc... -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Client storage (RE: ColdFusion 4.0.1/SPARC/Solaris help sought - registry corruption and cf scheduler problems)
Actually, it might have a LOT to do with client variables. An export of our Solaris registry right after setup was less than 8KB, three weeks later, it was several MB in size, all due to a programmer who inadvertently turned on client vars when he meant to only enable session vars. CF doesn't purge client vars for 90 days, so needless to say, the registry can get REALLY big in a hurry on a busy website. Note that nothing actually set any client vars, the entries were just for the CFTOKEN and CFID. The Solaris server is reasonably stable as long as the registry file is kept small, and without clent vars, it will stay small. Summary: If you're using client vars, get them into a database. If you're not using them, make absolutely sure they're not enabled anywhere. Export your registry, the only client var entries you should see will be from use of the CF Administrator application. (Though why in all of heaven and earth they are enabled there, I'll never know.) Michael J. Sheldon http://www.desertraven.com/ Make a fast friend, adopt a greyhound! -Original Message- From: Ed Toon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 06, 2000 19:09 To: [EMAIL PROTECTED] Subject: RE: Client storage (RE: ColdFusion 4.0.1/SPARC/Solaris help sought - registry corruption and cf scheduler problems) This has nothing to do with client variables. Cold Fusion uses the Registry a great deal itself internally. For example, all datasource info, scheduled tasks, etc... -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Client storage (RE: ColdFusion 4.0.1/SPARC/Solaris help sought - registry corruption and cf scheduler problems)
Well, yeah, using client variables in the registry certainly won't help, but the point is that the registry on Solaris is fubar (we won't get into NT.) I'm not saying everyone should start refreshing their registry every day... I'm saying that it's not difficult at all to find yourself with a very big registry corruption problem, and there's precious little you can do to stop it, other than avoiding the registry like the plague. I'm sure we could all sit here and tell stories about CF's erratic behavior on Solaris for days. ;) Ed (Now I wonder if there's a coorelation between the traffic Solaris sites experience vs. NT sites and the number of gaping errors...) -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.