Re: cfschedule - retrieve properties
I had to go to the 2nd page off google results - What? http://www.thecfguy.com/blog/listing-scheduled-task/ findTask() On 23 October 2014 18:09, AJ Mercer ajmer...@gmail.com wrote: with coldfusion (8) is there a way to retrieve the properties of an existing schedule? I want to get the start time so I can compare to local time to highlight if it needs to be updated because of a change in day light saving -- *AJ Mercer* webonix:net strength=Industrial / http://webonix.net | webonix:org community=Open / http://webonix.org http://twitter.com/webonix Railo Community Manager http://www.getrailo.org/index.cfm/community/team/ -- *AJ Mercer* webonix:net strength=Industrial / http://webonix.net | webonix:org community=Open / http://webonix.org http://twitter.com/webonix Railo Community Manager http://www.getrailo.org/index.cfm/community/team/ ~| 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:359509 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFSchedule runs 2nd task on its own
Are you saying you want it to time-out but it isn't? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On 10 May 2013 21:13, Chris 0404tow...@gmail.com wrote: We have a client's CFSchedule task with a 4 minute request timeout. The task always takes longer than 4 minutes. The task's cfm page sets requesttimeout=15000. CFSchedule starts the task, and at the end of 4 minutes CFSchedule announces the timeout and task rescheduling, then runs the same task again. Both tasks run to finish, as monitored in FusionReactor. Has anybody ever seen this? thanks, Chris ~| 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:355711 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFSchedule runs 2nd task on its own
Thanks Russ. No, I know 'requesttimeout doesn't actual time it out. My real concern is why CFSchedule appears to be starting a second task on its own. It's bad enough one of these long-running tasks runs so long ... but two of them is ... uh ... twice as bad. Chris On Fri, May 10, 2013 at 4:34 PM, Russ Michaels r...@michaels.me.uk wrote: Are you saying you want it to time-out but it isn't? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On 10 May 2013 21:13, Chris 0404tow...@gmail.com wrote: We have a client's CFSchedule task with a 4 minute request timeout. The task always takes longer than 4 minutes. The task's cfm page sets requesttimeout=15000. CFSchedule starts the task, and at the end of 4 minutes CFSchedule announces the timeout and task rescheduling, then runs the same task again. Both tasks run to finish, as monitored in FusionReactor. Has anybody ever seen this? thanks, Chris ~| 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:355717 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFSchedule runs 2nd task on its own
try deleting task, restart cf, re-creating the task, the sometimes fixes such issues. Are you on an old version of cf by any chance, I think this was a known issue on cf7/8 The most common reason I find for tasks running twice is where people have changed hosts and they have left the scheduled task still setup at the old host, so it gets run once form the old host and once from the new host. On Fri, May 10, 2013 at 11:02 PM, Chris 0404tow...@gmail.com wrote: Thanks Russ. No, I know 'requesttimeout doesn't actual time it out. My real concern is why CFSchedule appears to be starting a second task on its own. It's bad enough one of these long-running tasks runs so long ... but two of them is ... uh ... twice as bad. Chris On Fri, May 10, 2013 at 4:34 PM, Russ Michaels r...@michaels.me.uk wrote: Are you saying you want it to time-out but it isn't? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On 10 May 2013 21:13, Chris 0404tow...@gmail.com wrote: We have a client's CFSchedule task with a 4 minute request timeout. The task always takes longer than 4 minutes. The task's cfm page sets requesttimeout=15000. CFSchedule starts the task, and at the end of 4 minutes CFSchedule announces the timeout and task rescheduling, then runs the same task again. Both tasks run to finish, as monitored in FusionReactor. Has anybody ever seen this? thanks, Chris ~| 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:355718 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFSchedule
You have a form based login on that url, thus why the scheduled task wont run.The username/password fields in the cfschedule tag are for web server authentication. You need to exclude the scheduled task outside of your login routine or use webserver authentication instead. On Fri, Mar 11, 2011 at 9:00 PM, Scott Williams myscottwilli...@yahoo.comwrote: Hi all -- I'm trying to use CFSchedule to have automatic emails sent. I don't have access to the CF Administrator, so I'm using the CFSchedule tag. So far it hasn't worked. Here's my code: cfschedule action=update task=eMailToDoList operation=HTTPRequest url=http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm; startdate=1/1/2011 starttime=12:00 PM enddate=12/31/2011 username=SF300 password=Sw578668 interval=once resolveurl=no publish=no I included this code in a template, uploaded it to the website, then ran the page that contains it. No error messages, so knock wood. I next sent and ran a template with this code: cfschedule action=run task=eMailToDoList My expectation was that the template http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm would run. I did not receive an email. The DailyWhatToDoTodayEmail.cfm page works just fine. Any idea about why this isn't working? Scott ~| 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:342944 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFSchedule
Russ wins! That is indeed what was happening. In the Application.cfm file, there's some code that checks to see if a user has logged in. I moved my files to a directory with its own Application.cfm file, which contained no content, and now it's working just fine. Scott - Original Message From: Russ Michaels r...@michaels.me.uk To: cf-talk cf-talk@houseoffusion.com Sent: Fri, March 11, 2011 6:44:36 PM Subject: Re: CFSchedule You have a form based login on that url, thus why the scheduled task wont run.The username/password fields in the cfschedule tag are for web server authentication. You need to exclude the scheduled task outside of your login routine or use webserver authentication instead. On Fri, Mar 11, 2011 at 9:00 PM, Scott Williams myscottwilli...@yahoo.comwrote: Hi all -- I'm trying to use CFSchedule to have automatic emails sent. I don't have access to the CF Administrator, so I'm using the CFSchedule tag. So far it hasn't worked. Here's my code: cfschedule action=update task=eMailToDoList operation=HTTPRequest url=http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm; startdate=1/1/2011 starttime=12:00 PM enddate=12/31/2011 username=SF300 password=Sw578668 interval=once resolveurl=no publish=no I included this code in a template, uploaded it to the website, then ran the page that contains it. No error messages, so knock wood. I next sent and ran a template with this code: cfschedule action=run task=eMailToDoList My expectation was that the template http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm would run. I did not receive an email. The DailyWhatToDoTodayEmail.cfm page works just fine. Any idea about why this isn't working? Scott ~| 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:342945 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFSchedule
As a side note, instead of putting it in a directory that anyone can access and run your scheduled tasks, why not set up a check to see if the IP is coming from the server. If it is, then bypass the logged in check. This way, no separate directory and also prevents people from running it outside of your server. I use it myself and it works wonders. :) On Fri, Mar 11, 2011 at 6:59 PM, Scott Williams myscottwilli...@yahoo.com wrote: Russ wins! That is indeed what was happening. In the Application.cfm file, there's some code that checks to see if a user has logged in. I moved my files to a directory with its own Application.cfm file, which contained no content, and now it's working just fine. Scott - Original Message From: Russ Michaels r...@michaels.me.uk To: cf-talk cf-talk@houseoffusion.com Sent: Fri, March 11, 2011 6:44:36 PM Subject: Re: CFSchedule You have a form based login on that url, thus why the scheduled task wont run.The username/password fields in the cfschedule tag are for web server authentication. You need to exclude the scheduled task outside of your login routine or use webserver authentication instead. On Fri, Mar 11, 2011 at 9:00 PM, Scott Williams myscottwilli...@yahoo.comwrote: Hi all -- I'm trying to use CFSchedule to have automatic emails sent. I don't have access to the CF Administrator, so I'm using the CFSchedule tag. So far it hasn't worked. Here's my code: cfschedule action=update task=eMailToDoList operation=HTTPRequest url=http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm; startdate=1/1/2011 starttime=12:00 PM enddate=12/31/2011 username=SF300 password=Sw578668 interval=once resolveurl=no publish=no I included this code in a template, uploaded it to the website, then ran the page that contains it. No error messages, so knock wood. I next sent and ran a template with this code: cfschedule action=run task=eMailToDoList My expectation was that the template http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm would run. I did not receive an email. The DailyWhatToDoTodayEmail.cfm page works just fine. Any idea about why this isn't working? Scott ~| 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:342946 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFSchedule
Me likee... How do I check to see if the IP is coming from the server? Scott - Original Message From: Phillip Vector vec...@mostdeadlygame.com To: cf-talk cf-talk@houseoffusion.com Sent: Fri, March 11, 2011 7:01:56 PM Subject: Re: CFSchedule As a side note, instead of putting it in a directory that anyone can access and run your scheduled tasks, why not set up a check to see if the IP is coming from the server. If it is, then bypass the logged in check. This way, no separate directory and also prevents people from running it outside of your server. I use it myself and it works wonders. :) On Fri, Mar 11, 2011 at 6:59 PM, Scott Williams myscottwilli...@yahoo.com wrote: Russ wins! That is indeed what was happening. In the Application.cfm file, there's some code that checks to see if a user has logged in. I moved my files to a directory with its own Application.cfm file, which contained no content, and now it's working just fine. Scott - Original Message From: Russ Michaels r...@michaels.me.uk To: cf-talk cf-talk@houseoffusion.com Sent: Fri, March 11, 2011 6:44:36 PM Subject: Re: CFSchedule You have a form based login on that url, thus why the scheduled task wont run.The username/password fields in the cfschedule tag are for web server authentication. You need to exclude the scheduled task outside of your login routine or use webserver authentication instead. On Fri, Mar 11, 2011 at 9:00 PM, Scott Williams myscottwilli...@yahoo.comwrote: Hi all -- I'm trying to use CFSchedule to have automatic emails sent. I don't have access to the CF Administrator, so I'm using the CFSchedule tag. So far it hasn't worked. Here's my code: cfschedule action=update task=eMailToDoList operation=HTTPRequest url=http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm; startdate=1/1/2011 starttime=12:00 PM enddate=12/31/2011 username=SF300 password=Sw578668 interval=once resolveurl=no publish=no I included this code in a template, uploaded it to the website, then ran the page that contains it. No error messages, so knock wood. I next sent and ran a template with this code: cfschedule action=run task=eMailToDoList My expectation was that the template http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm would run. I did not receive an email. The DailyWhatToDoTodayEmail.cfm page works just fine. Any idea about why this isn't working? Scott ~| 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:342947 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFSchedule
If it is internal traffic, compare cgi.remote_addr to #createObject(java, java.net.InetAddress).getLocalHost().getHostAddress()# Otherwise, you can restrict directory access to IP in all web servers. Just restrict yours to the server's external address. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Scott Williams [mailto:myscottwilli...@yahoo.com] Sent: Friday, March 11, 2011 11:05 PM To: cf-talk Subject: Re: CFSchedule Me likee... How do I check to see if the IP is coming from the server? Scott - Original Message From: Phillip Vector vec...@mostdeadlygame.com To: cf-talk cf-talk@houseoffusion.com Sent: Fri, March 11, 2011 7:01:56 PM Subject: Re: CFSchedule As a side note, instead of putting it in a directory that anyone can access and run your scheduled tasks, why not set up a check to see if the IP is coming from the server. If it is, then bypass the logged in check. This way, no separate directory and also prevents people from running it outside of your server. I use it myself and it works wonders. :) On Fri, Mar 11, 2011 at 6:59 PM, Scott Williams myscottwilli...@yahoo.com wrote: Russ wins! That is indeed what was happening. In the Application.cfm file, there's some code that checks to see if a user has logged in. I moved my files to a directory with its own Application.cfm file, which contained no content, and now it's working just fine. Scott - Original Message From: Russ Michaels r...@michaels.me.uk To: cf-talk cf-talk@houseoffusion.com Sent: Fri, March 11, 2011 6:44:36 PM Subject: Re: CFSchedule You have a form based login on that url, thus why the scheduled task wont run.The username/password fields in the cfschedule tag are for web server authentication. You need to exclude the scheduled task outside of your login routine or use webserver authentication instead. On Fri, Mar 11, 2011 at 9:00 PM, Scott Williams myscottwilli...@yahoo.comwrote: Hi all -- I'm trying to use CFSchedule to have automatic emails sent. I don't have access to the CF Administrator, so I'm using the CFSchedule tag. So far it hasn't worked. Here's my code: cfschedule action=update task=eMailToDoList operation=HTTPRequest url=http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm; startdate=1/1/2011 starttime=12:00 PM enddate=12/31/2011 username=SF300 password=Sw578668 interval=once resolveurl=no publish=no I included this code in a template, uploaded it to the website, then ran the page that contains it. No error messages, so knock wood. I next sent and ran a template with this code: cfschedule action=run task=eMailToDoList My expectation was that the template http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm would run. I did not receive an email. The DailyWhatToDoTodayEmail.cfm page works just fine. Any idea about why this isn't working? Scott ~| 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:342948 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFSchedule
If you do have an internal and external IP, you can extract either from the ipconfig/ifconfig command via cfexecute .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Bobby Hartsfield [mailto:bo...@acoderslife.com] Sent: Friday, March 11, 2011 11:19 PM To: cf-talk Subject: RE: CFSchedule If it is internal traffic, compare cgi.remote_addr to #createObject(java, java.net.InetAddress).getLocalHost().getHostAddress()# Otherwise, you can restrict directory access to IP in all web servers. Just restrict yours to the server's external address. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Scott Williams [mailto:myscottwilli...@yahoo.com] Sent: Friday, March 11, 2011 11:05 PM To: cf-talk Subject: Re: CFSchedule Me likee... How do I check to see if the IP is coming from the server? Scott - Original Message From: Phillip Vector vec...@mostdeadlygame.com To: cf-talk cf-talk@houseoffusion.com Sent: Fri, March 11, 2011 7:01:56 PM Subject: Re: CFSchedule As a side note, instead of putting it in a directory that anyone can access and run your scheduled tasks, why not set up a check to see if the IP is coming from the server. If it is, then bypass the logged in check. This way, no separate directory and also prevents people from running it outside of your server. I use it myself and it works wonders. :) On Fri, Mar 11, 2011 at 6:59 PM, Scott Williams myscottwilli...@yahoo.com wrote: Russ wins! That is indeed what was happening. In the Application.cfm file, there's some code that checks to see if a user has logged in. I moved my files to a directory with its own Application.cfm file, which contained no content, and now it's working just fine. Scott - Original Message From: Russ Michaels r...@michaels.me.uk To: cf-talk cf-talk@houseoffusion.com Sent: Fri, March 11, 2011 6:44:36 PM Subject: Re: CFSchedule You have a form based login on that url, thus why the scheduled task wont run.The username/password fields in the cfschedule tag are for web server authentication. You need to exclude the scheduled task outside of your login routine or use webserver authentication instead. On Fri, Mar 11, 2011 at 9:00 PM, Scott Williams myscottwilli...@yahoo.comwrote: Hi all -- I'm trying to use CFSchedule to have automatic emails sent. I don't have access to the CF Administrator, so I'm using the CFSchedule tag. So far it hasn't worked. Here's my code: cfschedule action=update task=eMailToDoList operation=HTTPRequest url=http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm; startdate=1/1/2011 starttime=12:00 PM enddate=12/31/2011 username=SF300 password=Sw578668 interval=once resolveurl=no publish=no I included this code in a template, uploaded it to the website, then ran the page that contains it. No error messages, so knock wood. I next sent and ran a template with this code: cfschedule action=run task=eMailToDoList My expectation was that the template http://www.studioregionperformers.com/DailyWhatToDoTodayEmail.cfm would run. I did not receive an email. The DailyWhatToDoTodayEmail.cfm page works just fine. Any idea about why this isn't working? Scott ~| 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:342949 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfschedule tasks
These all worked great. Thanks! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333055 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfschedule tasks
Those were both very interesting. Thank you. They will help alot. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333057 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfschedule tasks
Daniel: We have the same 'relationship' with your servers, and although it is kludgy, we manage to get by using the following code (just place it in a file and visit it online to see what is scheduled): cfschedule action=run task=__list hope this helps m On Mon, Apr 19, 2010 at 1:00 PM, daniel kessler dani...@umd.edu wrote: Is there a way to query to find out if I have any active CFSchedule items? I tried to set up a cfschedule and it's not executing the file that I specified. I don't have access to the CF server other than through code and I'm looking for ways to trouble shoot this. I've not used cfschedule before. any help is appreciated. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332995 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfschedule tasks
I'm in the same boat. Here's a little code I knowkced to gether to tell me waht was going on for my CFMX8 instance !-- put in server root -- ColdFusion Information - click on struct for infomationbr cfoutput brBase Template Path = #GetBaseTemplatePath()#p cfdump var=#server#expand=no Label=Serverp cfset fObj = createObject(java, coldfusion.server.ServiceFactory) cfset MyService = fObj.getRuntimeService() cfset MyData = MyService.getMappings() cfdump var=#MyData# expand=no Label=Mappingsp cfset MyService = fObj.getDataSourceService() cfset MyData = MyService.getDatasources() cfdump var=#MyData# expand=no Label=Data Sources p cfset allTasks = fObj.CronService.listAll() cfset numberOtasks = arraylen(allTasks) cfset CronArray = ArrayNew(1) cfloop index=i from=1 to=#numberOtasks# CFSET CronTemp = StructNew() CFSET CronTemp.task = allTasks[i].task CFSET CronTemp.interval = allTasks[i].interval CFSET CronTemp.start_date = allTasks[i].start_date CFSET CronTemp.http_proxy_port = allTasks[i].http_proxy_port CFSET CronTemp.http_port = allTasks[i].http_port CFSET CronTemp.request_time_out = allTasks[i].request_time_out CFSET CronTemp.resolveurl = allTasks[i].resolveurl CFSET CronTemp.start_time = allTasks[i].start_time CFSET CronTemp.disabled = allTasks[i].disabled CFSET CronTemp.operation = allTasks[i].operation CFSET CronTemp.publish = allTasks[i].publish CFSET CronTemp.url = allTasks[i].url CFSET CronTemp.paused = allTasks[i].paused CFSET ArrayAppend(CronArray, CronTemp) /cfloop cfdump var=#CronArray# expand=no Label=Scheduled Tasksp CFSET results=StructNew() CFSET dbService = fObj.getDebuggingService() CFSET mailService = fObj.getMailSpoolService() CFSET rtService = fObj.getRuntimeService() CFSET results.debugging=dbService.isEnabled() CFSET results.debugip=dbService.iplist.iplist CFSET results.mailserver=mailService.getServer() CFSET results.mailthreads=mailService.getMaxDeliveryThreads() CFSET results.trustedcache=rtService.isTrustedCache() CFSET results.slowlimit=rtService.getSlowRequestLimit() cfdump var=#results# expand=no Label=Configuration Settingsp pbDriver Versions/b cfset drivernames = macromedia.jdbc.oracle.OracleDriver, macromedia.jdbc.db2.DB2Driver, macromedia.jdbc.informix.InformixDriver, macromedia.jdbc.sequelink.SequeLinkDriver, macromedia.jdbc.sqlserver.SQLServerDriver, macromedia.jdbc.sybase.SybaseDriver cfset drivernames=Replace(drivernames, ,,ALL) table BORDER=1 cellpadding=5 cfloop index=drivername list=#drivernames# cfobject action=CREATE class=#drivername# name=driver type=JAVA cfset args= ArrayNew(1) cfset driver.main(args) cfoutputtrtd#drivername#/tdtd#driver.getMajorVersion()#.#driver.getMinorVersion()#/td/tr/cfoutput /cfloop /table /cfoutput ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333009 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfschedule help
Are you aware that you can schedule tasks using a nice GUI from inside of ColdFusion Administrator? The problem might be related to setting the start time to now(), since the CF scheduler is checked for new jobs to process on an interval basis, not on a continual basis. Try scheduling the execution time for 20 minutes in the future to see if those emails go out. Scheduling a task to run now isn't much of a schedule. Schedule implies that it happens in the future. Why not run the email code inline? If you have a predefined scheduled task that you want to run on an ad-hoc basis, you can pass in action=run and skip those other parameters. -Mike Chabot On Fri, Mar 26, 2010 at 11:53 AM, daniel kessler dani...@umd.edu wrote: I'm trying to get cfschedule to send out an email. I've checked out a few tutorials and I don't see the problem I'm having. I have a page to set the cfschedule and it contains: cfschedule action=update task=facilities_daily_notification interval=60 operation=httprequest startdate=#now()# starttime=#now()# url=http://sph.umd.edu/home/facilities_request/email/daily_notifcation.cfm; The daily_notification.cfm page contains: cftry cfmail TO = dani...@umd.edu FROM = Daniel Kesslerdani...@umd.edu SUBJECT = Email Notification Test TIMEOUT = 30 failto = dani...@umd.edu Hey man, good morning! So I guess this thing works... /cfmail cfcatch type=any There was a problem sending the message to the mail server. Please try again later.br cfoutput #cfcatch.Message# br (#cfcatch.type#) /cfoutput cfabort /cfcatch /cftry I've tried the daily_notification.cfm page and it sends an email if I just run that, but I can't get it to run as a scheduled task. help?! thanks. daniel ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332328 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfschedule help
On Fri, Mar 26, 2010 at 11:53 AM, daniel kessler dani...@umd.edu wrote: I'm trying to get cfschedule to send out an email. I've checked out a few tutorials and I don't see the problem I'm having. I have a page to set the cfschedule and it contains: cfschedule action=update task=facilities_daily_notification interval=60 operation=httprequest startdate=#now()# starttime=#now()# url= http://sph.umd.edu/home/facilities_request/email/daily_notifcation.cfm; Try 61 seconds... You can't set a schedule to run every 60 seconds. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332329 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfschedule help
Are you aware that you can schedule tasks using a nice GUI from inside of ColdFusion Administrator? It's a centralized server so I don't have access to the Administrator. The problem might be related to setting the start time to now(), since the CF scheduler is checked for new jobs to process on an interval basis, not on a continual basis. Try scheduling the execution time for 20 minutes in the future to see if those emails go out. Scheduling a task to run now isn't much of a schedule. Schedule implies that it happens in the future. Why not run the email code inline? It needs to send an email out daily. I want it to start now and then each day send out another. I had it set to 60 seconds to test it as I didn't want to wait a day to find that I did it wrong and it failed. I've changed that to 120 seconds and it didn't work. I don't understand why there would be a problem with starting now() though. However, I changed the start_time to this: cfset start_date = createDate(year(now()),month(now()),day(now())) cfset start_time = createTime(hour(now()),minute(now())+10,second(now())) cfschedule action=update task=facilities_daily_notification interval=120 operation=httprequest startdate=#start_date# starttime=#start_time# url=http://sph.umd.edu/home/facilities_request/email/daily_notifcation.cfm; It doesn't seem to have worked. Is there a problem with the code? I've asked and cfschedule is enabled. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332335 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfschedule help
Try 61 seconds... You can't set a schedule to run every 60 seconds. good to know, thanks. I set it to 120 with no effect. See my reply above, please, for the full code. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332336 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfschedule help
Maybe the problem is the way that I'm designating start-date and start time. This code: cfset start_date = createDate(year(now()),month(now()),day(now())) cfset start_time = createTime(hour(now()),minute(now())+10,second(now())) produces: {ts '2010-03-26 00:00:00'} {ts '1899-12-30 14:28:29'} The time on the bottom looks wrong. The14:28:29 looks right, but not the 1899-12-30. I'm trying to look up what that is now. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332337 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfschedule help
If there was an error being thrown by your scheduled task, would you have any way of finding out? Do you get E-mailed with the error details? Not having access to the log files makes troubleshooting scheduled tasks more challenging. Often the error jumps right out at you by viewing the error log. You can use TimeFormat() to get the time value to appear in a format that matches the examples found in the user manual. You should also pass the date value through DateFormat() -Mike Chabot On Fri, Mar 26, 2010 at 2:08 PM, daniel kessler dani...@umd.edu wrote: Are you aware that you can schedule tasks using a nice GUI from inside of ColdFusion Administrator? It's a centralized server so I don't have access to the Administrator. The problem might be related to setting the start time to now(), since the CF scheduler is checked for new jobs to process on an interval basis, not on a continual basis. Try scheduling the execution time for 20 minutes in the future to see if those emails go out. Scheduling a task to run now isn't much of a schedule. Schedule implies that it happens in the future. Why not run the email code inline? It needs to send an email out daily. I want it to start now and then each day send out another. I had it set to 60 seconds to test it as I didn't want to wait a day to find that I did it wrong and it failed. I've changed that to 120 seconds and it didn't work. I don't understand why there would be a problem with starting now() though. However, I changed the start_time to this: cfset start_date = createDate(year(now()),month(now()),day(now())) cfset start_time = createTime(hour(now()),minute(now())+10,second(now())) cfschedule action=update task=facilities_daily_notification interval=120 operation=httprequest startdate=#start_date# starttime=#start_time# url=http://sph.umd.edu/home/facilities_request/email/daily_notifcation.cfm; It doesn't seem to have worked. Is there a problem with the code? I've asked and cfschedule is enabled. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332341 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfschedule task runs serially
I saw an issue like this once. If I recall correct, it does have to wait for 1 process to finish to begin the next, and our solution was to wrap each iteration with cfthread so it spawned separate processed for each iteration. cfthread action=run name=myThread /K ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326889 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfschedule action=run .... asynchronous or not?
If you are trying to run a scheduled task immediately as opposed to on a schedule, I believe that it is not asynchronous. This would be similar to pressing the execute button next to the scheduled task in CF Admin, which makes you wait. -Mike Chabot On Fri, Oct 3, 2008 at 8:56 AM, Dave Phillips [EMAIL PROTECTED] wrote: Hi all, I'm on CF8 - linux OS. Trying to find out why my cfschedule action=run task=whatever tag is not running asynchronously. I was under the impression that it should execute the task and then continue on, not making the user wait. Am I wrong about this? Thanks! Dave ~| 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:313430 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfschedule delete work around??
Or you could just use the AdminAPI, I thought you could plug into that directly? From the site notes, it only needs to be restarted if you use the cfschedule tag. If you do it from the Admin, no need to re-start. Chris -Original Message- From: Jim Priest [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 02, 2006 10:44 AM To: CF-Talk Subject: cfschedule delete work around?? I don't think I've ever said anything bad about CF before but this cfschedule bug is just a huge PITA. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18361 I have several automated tasks and everything was working great until recently we moved to Win2003 and now I'm stuck with apparently restarting CF when I need to delete a scheduled task. If anyone from Adobe is reading this - please stop day dreaming about features to add to the next release of CF and FIX THIS. Since I doubt that'll happen anytime soon - I'm curious what are people doing to work around this issue?? Jim ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239254 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
Re: cfschedule delete work around??
After several attempts to rely upon scheduled tasks in CF blew up in my face, I realized that it just wasn't ever really going to work for me. I abandoned it completely and run all of my scheduled tasks from the OS. It seems to be infinitely more dependable. --Ferg Jim Priest wrote: I don't think I've ever said anything bad about CF before but this cfschedule bug is just a huge PITA. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18361 I have several automated tasks and everything was working great until recently we moved to Win2003 and now I'm stuck with apparently restarting CF when I need to delete a scheduled task. If anyone from Adobe is reading this - please stop day dreaming about features to add to the next release of CF and FIX THIS. Since I doubt that'll happen anytime soon - I'm curious what are people doing to work around this issue?? Jim ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239257 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: cfschedule delete work around??
Presuming it's his own server and he has access to do that. -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: 02 May 2006 15:52 To: CF-Talk Subject: RE: cfschedule delete work around?? Or you could just use the AdminAPI, I thought you could plug into that directly? From the site notes, it only needs to be restarted if you use the cfschedule tag. If you do it from the Admin, no need to re-start. Chris -Original Message- From: Jim Priest [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 02, 2006 10:44 AM To: CF-Talk Subject: cfschedule delete work around?? I don't think I've ever said anything bad about CF before but this cfschedule bug is just a huge PITA. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18361 I have several automated tasks and everything was working great until recently we moved to Win2003 and now I'm stuck with apparently restarting CF when I need to delete a scheduled task. If anyone from Adobe is reading this - please stop day dreaming about features to add to the next release of CF and FIX THIS. Since I doubt that'll happen anytime soon - I'm curious what are people doing to work around this issue?? Jim ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239266 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
Re: cfschedule delete work around??
I've had pretty good luck with scheduled tasks. I'm not adding or removing them very often, but they've generally run when I wanted them to, etc.. :den On 5/2/06, Ken Ferguson [EMAIL PROTECTED] wrote: After several attempts to rely upon scheduled tasks in CF blew up in my face, I realized that it just wasn't ever really going to work for me. I abandoned it completely and run all of my scheduled tasks from the OS. It seems to be infinitely more dependable. --Ferg Jim Priest wrote: I don't think I've ever said anything bad about CF before but this cfschedule bug is just a huge PITA. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18361 I have several automated tasks and everything was working great until recently we moved to Win2003 and now I'm stuck with apparently restarting CF when I need to delete a scheduled task. If anyone from Adobe is reading this - please stop day dreaming about features to add to the next release of CF and FIX THIS. Since I doubt that'll happen anytime soon - I'm curious what are people doing to work around this issue?? Jim ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239334 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: Cfschedule question
hi guys, is it possible to include a URL variable when specifying the template to run eg. send_email.cfm?run_script=1 i thought i could maybe(?) wrap the code that runs in an if statement to see if URL variable is present. i sort of want to avoid creating a new db column if i can. mike ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235586 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
Re: Cfschedule question
Set a flag in the database when you send them the email, then only check for customers without that flag. On 3/15/06, Mike | NZSolutions Ltd [EMAIL PROTECTED] wrote: Hi there, I have created a cfschedule that runs daily. It queries a list of customers and sends them a followup email. The template that runs is send_email.cfm - what is the best way to protect this template from being executed by mistake - as we only want one followup email sent to customers. Regards Mike ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235480 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: cfschedule
Run the schedule every hour and have the script check the correct time. If the time is correct, then continue processing. Otherwise, abort and wait for later. M!ke -Original Message- From: Sam Komo_ITS [mailto:[EMAIL PROTECTED] Sent: Monday, November 14, 2005 4:26 PM To: CF-Talk Subject: cfschedule Hi Guys, I have a scheduled job that runs every 8 hrs [7AM, 3PM, 11PM]. The job now runs one hour earlier because of the daylight savings time. What can be done to make sure it run at the specified times. Thanks Sam ~| 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:224156 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: cfschedule
Make sure you have all the updaters installed. M!ke -Original Message- From: Sam Komo_ITS [mailto:[EMAIL PROTECTED] Sent: Monday, November 14, 2005 4:26 PM To: CF-Talk Subject: cfschedule Hi Guys, I have a scheduled job that runs every 8 hrs [7AM, 3PM, 11PM]. The job now runs one hour earlier because of the daylight savings time. What can be done to make sure it run at the specified times. Thanks Sam ~| 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:224157 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: cfschedule tag problem.
Jeff, You might try disabling friendly error messages to get a more useful message from IE. You'll find it in the IE options dialog. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: Jeff W [mailto:[EMAIL PROTECTED] Sent: maandag 15 augustus 2005 15:03 To: CF-Talk Subject: cfschedule tag problem. I have an issue running a cfschedule tag in my code. This is what I run CFSCHEDULE ACTION=Run TASK=#Trim(TaskName)# The taskname variable is the exact name of the task I want to run. I get this error. 500 Internal Server Error NULL Is this an IIS security setting or something else?? Thanks.. Jeff ~| 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:214972 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: cfschedule tag problem.
I put it in a Try/Catch These were the cfcatch variables I got back.. message=500 Internal Server Error type =coldfusion.server.ServiceException Odd thing is it appears that the task ran, but just errored at the end Weird.. Anyone with ideas? Jeff On 8/15/05, Micha Schopman [EMAIL PROTECTED] wrote: Jeff, You might try disabling friendly error messages to get a more useful message from IE. You'll find it in the IE options dialog. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl http://www.modernmedia.nl - -Original Message- From: Jeff W [mailto:[EMAIL PROTECTED] Sent: maandag 15 augustus 2005 15:03 To: CF-Talk Subject: cfschedule tag problem. I have an issue running a cfschedule tag in my code. This is what I run CFSCHEDULE ACTION=Run TASK=#Trim(TaskName)# The taskname variable is the exact name of the task I want to run. I get this error. 500 Internal Server Error NULL Is this an IIS security setting or something else?? Thanks.. Jeff ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214981 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: cfschedule tag problem.
Hmmm, can you call the page you are calling via the schedule in the browser? Is the task uploading a file as part of its process or on a cluster? If so this is a known bug that has to do with Jrun Updater 4 (or less) which is what comes with CFMX 6.1 and CFMX 7 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=24039877 (could be a shot in the dark..) -Original Message- From: Jeff W [mailto:[EMAIL PROTECTED] Sent: 15 August 2005 16:18 To: CF-Talk Subject: Re: cfschedule tag problem. I put it in a Try/Catch These were the cfcatch variables I got back.. message=500 Internal Server Error type =coldfusion.server.ServiceException Odd thing is it appears that the task ran, but just errored at the end Weird.. Anyone with ideas? Jeff On 8/15/05, Micha Schopman [EMAIL PROTECTED] wrote: Jeff, You might try disabling friendly error messages to get a more useful message from IE. You'll find it in the IE options dialog. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl http://www.modernmedia.nl - -Original Message- From: Jeff W [mailto:[EMAIL PROTECTED] Sent: maandag 15 augustus 2005 15:03 To: CF-Talk Subject: cfschedule tag problem. I have an issue running a cfschedule tag in my code. This is what I run CFSCHEDULE ACTION=Run TASK=#Trim(TaskName)# The taskname variable is the exact name of the task I want to run. I get this error. 500 Internal Server Error NULL Is this an IIS security setting or something else?? Thanks.. Jeff ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214983 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
RE: cfschedule tag problem.
Jeff, Sounds to me like the output may be causing a problem. This error has happened to me before too on viewing pages in my browser (but not using CFSCHEDULE). Don't know if that helps or not, but thought it could be a piece of the puzzle at least. Dave -Original Message- From: Jeff W [mailto:[EMAIL PROTECTED] Sent: Monday, August 15, 2005 11:18 AM To: CF-Talk Subject: Re: cfschedule tag problem. I put it in a Try/Catch These were the cfcatch variables I got back.. message=500 Internal Server Error type =coldfusion.server.ServiceException Odd thing is it appears that the task ran, but just errored at the end Weird.. Anyone with ideas? Jeff On 8/15/05, Micha Schopman [EMAIL PROTECTED] wrote: Jeff, You might try disabling friendly error messages to get a more useful message from IE. You'll find it in the IE options dialog. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl http://www.modernmedia.nl - -Original Message- From: Jeff W [mailto:[EMAIL PROTECTED] Sent: maandag 15 augustus 2005 15:03 To: CF-Talk Subject: cfschedule tag problem. I have an issue running a cfschedule tag in my code. This is what I run CFSCHEDULE ACTION=Run TASK=#Trim(TaskName)# The taskname variable is the exact name of the task I want to run. I get this error. 500 Internal Server Error NULL Is this an IIS security setting or something else?? Thanks.. Jeff ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214993 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
Re: cfschedule ghost threads
I also got this problem with BlueDragon Paul Stewart Site Developer [EMAIL PROTECTED] www.whichfranchise.com - Original Message - From: Micha Schopman [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, July 25, 2005 3:49 PM Subject: cfschedule ghost threads I hoped this would be a long solved dusty relic from CFMX, but I just experienced that CFMX 6.1 fully patched also has issues with never ending scheduler jobs. They do not appear in the list of jobs, but they do however execute. I also checked any running jobs with the service factory but, it also turned out to be empty. Anyone else experienced this, and besides forcing a service restart of CFMX did someone find a solution? The tasks are created with the cfscheduler tag, and the same counts for the deletion of them when their job is finished. The jobs are doing mass mailings, whereas cfschedule is responsible for taking care of short pauses. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212801 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: cfschedule ghost threads
Paul, Thanks for the valuable info, I was about to check it out with BlueDragon. Seems a different platform should handle this job. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: Paul Stewart [mailto:[EMAIL PROTECTED] Sent: dinsdag 26 juli 2005 9:37 To: CF-Talk Subject: Re: cfschedule ghost threads I also got this problem with BlueDragon Paul Stewart Site Developer [EMAIL PROTECTED] www.whichfranchise.com - Original Message - From: Micha Schopman [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, July 25, 2005 3:49 PM Subject: cfschedule ghost threads I hoped this would be a long solved dusty relic from CFMX, but I just experienced that CFMX 6.1 fully patched also has issues with never ending scheduler jobs. They do not appear in the list of jobs, but they do however execute. I also checked any running jobs with the service factory but, it also turned out to be empty. Anyone else experienced this, and besides forcing a service restart of CFMX did someone find a solution? The tasks are created with the cfscheduler tag, and the same counts for the deletion of them when their job is finished. The jobs are doing mass mailings, whereas cfschedule is responsible for taking care of short pauses. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:212802 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
Re: cfschedule ghost threads
Have you tried updating the schedule so that the start and end dates are in the past? I have a similar system for mass mailing that I am just putting together and I seem to have the same scheduler problem. I have tried using cfschedule to update the task but I am not sure that even this is making a difference. I will look at the cron-xml file when I get home tonight whilst my code is running to see if the change occurs. Cheers, Dave Micha Schopman wrote: Paul, Thanks for the valuable info, I was about to check it out with BlueDragon. Seems a different platform should handle this job. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: Paul Stewart [mailto:[EMAIL PROTECTED] Sent: dinsdag 26 juli 2005 9:37 To: CF-Talk Subject: Re: cfschedule ghost threads I also got this problem with BlueDragon Paul Stewart Site Developer [EMAIL PROTECTED] www.whichfranchise.com - Original Message - From: Micha Schopman [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, July 25, 2005 3:49 PM Subject: cfschedule ghost threads I hoped this would be a long solved dusty relic from CFMX, but I just experienced that CFMX 6.1 fully patched also has issues with never ending scheduler jobs. They do not appear in the list of jobs, but they do however execute. I also checked any running jobs with the service factory but, it also turned out to be empty. Anyone else experienced this, and besides forcing a service restart of CFMX did someone find a solution? The tasks are created with the cfscheduler tag, and the same counts for the deletion of them when their job is finished. The jobs are doing mass mailings, whereas cfschedule is responsible for taking care of short pauses. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:212805 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
Re: cfschedule ghost threads
Have you tried updating the schedule so that the start and end dates are in the past? I have a similar system for mass mailing that I am just putting together and I seem to have the same scheduler problem. I have tried using cfschedule to update the task but I am not sure that even this is making a difference. I will look at the cron-xml file when I get home tonight whilst my code is running to see if the change occurs. Cheers, Dave ~| 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:212806 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
RE: cfschedule ghost threads
Dave, Not tried that, but that would also result in scheduled tags being available forever. Even though the date is set in history, the thread would be still registered within the system. We have settled with the ghost threads for the time being because we already made the decision for a different platform. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: Dave Phipps [mailto:[EMAIL PROTECTED] Sent: dinsdag 26 juli 2005 12:17 To: CF-Talk Subject: Re: cfschedule ghost threads Have you tried updating the schedule so that the start and end dates are in the past? I have a similar system for mass mailing that I am just putting together and I seem to have the same scheduler problem. I have tried using cfschedule to update the task but I am not sure that even this is making a difference. I will look at the cron-xml file when I get home tonight whilst my code is running to see if the change occurs. Cheers, Dave ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212808 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: cfschedule ghost threads
As a follow up, I found a technote about this issue. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18361 Luckily it is only there since 2003 ... Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: maandag 25 juli 2005 15:50 To: CF-Talk Subject: cfschedule ghost threads I hoped this would be a long solved dusty relic from CFMX, but I just experienced that CFMX 6.1 fully patched also has issues with never ending scheduler jobs. They do not appear in the list of jobs, but they do however execute. I also checked any running jobs with the service factory but, it also turned out to be empty. Anyone else experienced this, and besides forcing a service restart of CFMX did someone find a solution? The tasks are created with the cfscheduler tag, and the same counts for the deletion of them when their job is finished. The jobs are doing mass mailings, whereas cfschedule is responsible for taking care of short pauses. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| 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:212747 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: cfschedule ghost threads
Micha, I experienced the same thing and only a CF service restart cleared them. It's gotta be a bug, but I haven't ever researched it to see if there is a fix for it. Are the jobs you're adding/deleting using the same task name? Have you experienced trying to use either the same task name everytime, or a different one everytime? I never tested that, just created my own scheduling system (it was also for mailings). I have a table where the mailing is added to the table, and I'm only using the CF scheduler to run the same program every 5 minutes and look for any jobs that need to be sent. This way I just have a static job in the CF scheduler and don't have to worry about the bug. Alot of work to get around a bug but you gotta do what you gotta do (I'm sure someone important said that one day) Dave -Original Message- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 10:50 AM To: CF-Talk Subject: cfschedule ghost threads I hoped this would be a long solved dusty relic from CFMX, but I just experienced that CFMX 6.1 fully patched also has issues with never ending scheduler jobs. They do not appear in the list of jobs, but they do however execute. I also checked any running jobs with the service factory but, it also turned out to be empty. Anyone else experienced this, and besides forcing a service restart of CFMX did someone find a solution? The tasks are created with the cfscheduler tag, and the same counts for the deletion of them when their job is finished. The jobs are doing mass mailings, whereas cfschedule is responsible for taking care of short pauses. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212748 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: cfschedule ghost threads
Dave, It is a bug ... I am really astonished that such a mayor bug from 2003 still isn't fixed. Practically, the cfschedule tag is useless. Bug: 48529 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18325 The jobs all have different names, they run with a interval of 60 seconds, and are doing nothing more than cfmail start-endrow, until all rows are handled. Then the job is removed, well .. it should have been removed. Still astonished ... Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: maandag 25 juli 2005 16:00 To: CF-Talk Subject: RE: cfschedule ghost threads Micha, I experienced the same thing and only a CF service restart cleared them. It's gotta be a bug, but I haven't ever researched it to see if there is a fix for it. Are the jobs you're adding/deleting using the same task name? Have you experienced trying to use either the same task name everytime, or a different one everytime? I never tested that, just created my own scheduling system (it was also for mailings). I have a table where the mailing is added to the table, and I'm only using the CF scheduler to run the same program every 5 minutes and look for any jobs that need to be sent. This way I just have a static job in the CF scheduler and don't have to worry about the bug. Alot of work to get around a bug but you gotta do what you gotta do (I'm sure someone important said that one day) Dave -Original Message- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 10:50 AM To: CF-Talk Subject: cfschedule ghost threads I hoped this would be a long solved dusty relic from CFMX, but I just experienced that CFMX 6.1 fully patched also has issues with never ending scheduler jobs. They do not appear in the list of jobs, but they do however execute. I also checked any running jobs with the service factory but, it also turned out to be empty. Anyone else experienced this, and besides forcing a service restart of CFMX did someone find a solution? The tasks are created with the cfscheduler tag, and the same counts for the deletion of them when their job is finished. The jobs are doing mass mailings, whereas cfschedule is responsible for taking care of short pauses. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212752 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
RE: cfschedule ghost threads
How did this get missed in MX 7 ? Unbelievable. Dave -Original Message- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 11:06 AM To: CF-Talk Subject: RE: cfschedule ghost threads Dave, It is a bug ... I am really astonished that such a mayor bug from 2003 still isn't fixed. Practically, the cfschedule tag is useless. Bug: 48529 http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_18325 The jobs all have different names, they run with a interval of 60 seconds, and are doing nothing more than cfmail start-endrow, until all rows are handled. Then the job is removed, well .. it should have been removed. Still astonished ... Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: maandag 25 juli 2005 16:00 To: CF-Talk Subject: RE: cfschedule ghost threads Micha, I experienced the same thing and only a CF service restart cleared them. It's gotta be a bug, but I haven't ever researched it to see if there is a fix for it. Are the jobs you're adding/deleting using the same task name? Have you experienced trying to use either the same task name everytime, or a different one everytime? I never tested that, just created my own scheduling system (it was also for mailings). I have a table where the mailing is added to the table, and I'm only using the CF scheduler to run the same program every 5 minutes and look for any jobs that need to be sent. This way I just have a static job in the CF scheduler and don't have to worry about the bug. Alot of work to get around a bug but you gotta do what you gotta do (I'm sure someone important said that one day) Dave -Original Message- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 10:50 AM To: CF-Talk Subject: cfschedule ghost threads I hoped this would be a long solved dusty relic from CFMX, but I just experienced that CFMX 6.1 fully patched also has issues with never ending scheduler jobs. They do not appear in the list of jobs, but they do however execute. I also checked any running jobs with the service factory but, it also turned out to be empty. Anyone else experienced this, and besides forcing a service restart of CFMX did someone find a solution? The tasks are created with the cfscheduler tag, and the same counts for the deletion of them when their job is finished. The jobs are doing mass mailings, whereas cfschedule is responsible for taking care of short pauses. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212755 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: cfschedule task won't run
Jamie, (CFMX 6.1 / Linux) I set up a scheduled task (in the CF admin) to hit Google. It will run the task if I hit the run now icon (next to the task in the CF admin, and the execution gets logged in the scheduler.log, as expected. However, it does not run automatically, and there are no entries in the scheduler.log (except the times that I run it on-demand). I have the identical job set up on another CFMX 6.1/Linux box, and it runs fine, both on demand and on a schedule. Are you sure cron is set up to run? I believe the CF Scheduler uses the OS built-in schedule mechanisms (at least it used to.) -Dan ~| 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:211813 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: cfschedule task won't run
Are you sure cron is set up to run? As a matter of fact, I'm not; so I'll go figure that out. Thanks, Jamie ~| 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:211823 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
Re: CFSCHEDULE ability to log in
On Tuesday 03 May 2005 00:03, Jim McAtee wrote: Can CFSCHEDULE login to this site properly using the username and password tag attributes or is it a bit more involved? IIRC, if Windows can't auto locate your domain details, if falls back to the normal security method of prompting for them, so it should work. -- Tom Chiverton Advanced ColdFusion Programmer ~| 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:205672 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: cfschedule and daylight savings bug
Follow up: Restarting services and rebooting the server did _not_ fix this. It _did_ fix it for newly created jobs, but not for the existing run daily job. No matter what I did, my existing daily job ran @ t-1 hour until I deleted the job and recreated it. I tried restarting, recycling, and even editing the time of the job, but none of these things worked. It seems my existing job would have run at t-1 hour until the next daylight savings, if I had not deleted it and recreated it. -Jeff Jeff Congdon wrote: After investigating some really strange behavior with my scheduled jobs, I realized that all of my scheduled tasks are running t-1hour, and have been since Sunday morning. Fan-tas-tic. A few minutes ago I ran a test on the server in question. Server clock (it's central) reads 7:30 PM, now() in a cf date function returns 7:30 PM, 2 jobs were scheduled in advance... one for 6:30, the other for 7:30. I got a result from the 6:30 one, not from the 7:30 one. CFMX 6.1 with updater, and a day of cleaning up after this that I'll never get back. -Jeff ~| 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:202044 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: CFSCHEDULE RSS into DB
Ahh... Scrap this one. Funny thing about sending something to a list--seem to find answers on my own quicker that way. Sorry for the noise. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192300 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
Re: CFSCHEDULE and https..PLEASE HELP URGENT
What is the normal URL you would enter to ecxecute this page, if you were not using the scheduler. What happens when you enter this in the browser? ~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185875 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
Re: cfschedule question
This could really save me. My hosting company is threatening to turn off read access to neo-cron.xml after I rolled out my app assuming I could read it. They do seem to allow CreateObject. I am not a java programmer, but can you tell me if there is a not-too-hard way to read the individual elements/nodes of the cronservice e.g. cronservice[1].task, cronservice[4].interval, etc. What you need to have is the cronservice and then listAll(). cflock name=serviceFactory type=exclusive timeout=10 cfscript factory = CreateObject(java, coldfusion.server.ServiceFactory); cronservice = factory.cronservice; tasks = cronservice.listAll(); /cfscript cfdump var=#tasks# /cflock This will return a complete list of all the scheduled tasks defined on the system. To make sure you can always identify which task belongs to who you should stick to some convention for the name. The actual changing of tasks can be done using cfschedule (be sure to revoke cfschedule permissions for your clients). Make sure your clients don't schedule anything between 02:00 and 03:00 because of DST issues. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfschedule question
Tony May have been convered already but in my experience all you can really do it update or delete a scheduled event based on its name. So you cannot get any other details about it. In practise all you need to store - a simple text file is sufficient so no need to use a database is something like this {ts '2004-09-20 12:00:00'},weekly Where the timestamp is the start of the event and second item in the list the schedule repeat period (once, weekly etc.). You give the text file a unique name - say using a UUID tied to the name of the site/event = event1_#mySiteUUID#.txt - then to list a specific sites events you use cfdirectory... Johan www.assetnow.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfschedule question
use the interval attribute like this: interval=once ( CFMX Docs: Interval at which task is scheduled. * number of seconds (minimum is 60) * once * daily * weekly * monthly ) How do I schedule a one time task with cfschedule. I get I can set the start and end date to the same one or is there a better way? thanks, Luis R. Lebron Project Manager Sigmatech, Inc [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfschedule error
On Fri, 06 Aug 2004 19:02:13 -0400, Andrew Grosset [EMAIL PROTECTED] wrote: I havn't had to run cfschedule before so this is a bit new to me Does the task have to be registered in administrator before it can be run? I looked at the 6.1 docs and it doesn't mention it. Yes, you need to create a task before running it, either via CF Admin or by using the CFSCHEDULE tag. For the later, use action="" to create new tasks or update existing tasks. http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-a30.htm -- Ubqtous [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfschedule error
I've never used CFSCHEDULE, but i'd imagine you can only run registered scheduled tasks.If you just want to request a URL one time, use CFHTTP.That's all scheduled tasks are, except CF runs them on a schedule. cheers, barneyb On Fri, 06 Aug 2004 19:02:13 -0400, Andrew Grosset [EMAIL PROTECTED] wrote: I get this error calling my cfschedule template: The following task could not be found: appcheck. cfschedule action=""> task=appcheck url=""> startDate=8/6/04 startTime=2:35 PM interval=60 I am on a shared hosting server running CFMX 6.1 I havn't had to run cfschedule before so this is a bit new to me Does the task have to be registered in administrator before it can be run? I looked at the 6.1 docs and it doesn't mention it. any help appreciated, Andrew. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfschedule error
On Fri, 6 Aug 2004 16:36:41 -0700, Barney Boisvert [EMAIL PROTECTED] wrote: I've never used CFSCHEDULE, but i'd imagine you can only run registered scheduled tasks. If the tag is enabled in CF Admin, you can use CFSCHEDULE to create schedule items. I believe MX is the first release to allow CFSCHEDULE to be disabled. -- Ubqtous [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfschedule error
Thanks Ubqtous, It now looks so obvious! I created it using an update: cfschedule action=""> operation=HTTPRequest task=appcheck url=""> startDate=8/6/04 startTime=2:35 PM interval=60 and now I can run it: cfschedule action=""> task=appcheck many thanks, Andrew. Yes, you need to create a task before running it, either via CF Admin or by using the CFSCHEDULE tag. For the later, use action="" to create new tasks or update existing tasks. http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-a30.htm -- Ubqtous [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Cfschedule tasks list
On Tue, 13 Jul 2004 14:35:32 -0700 (PDT), John Elder [EMAIL PROTECTED] wrote: Is there any way to display the list of scheduled tasks on a page without using the administrator? Does this help? http://www.anticlue.net/archives/000303.htm -- Kay Smoljak http://kay.smoljak.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Cfschedule tasks list
Yes, that's perfect. Thank You, John Elder --- Kay Smoljak [EMAIL PROTECTED] wrote: On Tue, 13 Jul 2004 14:35:32 -0700 (PDT), John Elder [EMAIL PROTECTED] wrote: Is there any way to display the list of scheduled tasks on a page without using the administrator? Does this help? http://www.anticlue.net/archives/000303.htm -- Kay Smoljak http://kay.smoljak.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: CFSCHEDULE
On Friday 05 Mar 2004 20:56 pm, Matt Robertson wrote: Just as a general FYI, scheduling templates to run thru IE via the Windows task scheduler -- assuming a Win machine of course -- changes this. Indeed - or you can script wget or something similar too. -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road, WELLS. BA5 1AF Tel: +44 (0)1749 834900 Fax: +44 (0)1749 834901 web: www.bluefinger.com Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, BRISTOL. BS1 6EG. *** This E-mail contains confidential information for the addressee only. If you are not the intended recipient, please notify us immediately. You should not use, disclose, distribute or copy this communication if received in error. No binding contract will result from this e-mail until such time as a written document is signed on behalf of the company. BlueFinger Limited cannot accept responsibility for the completeness or accuracy of this message as it has been transmitted over public networks.*** [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFSCHEDULE
I've used the scheduler since it was first put into CF (even wrote a chapter on it) and I've never had a problem. Other have had problems that have been hard to trace. If your going to use it follow a few simple rules. 1. The template being run should be able to run from an url without a problem. 2. Test the template using CFHTTP to make sure it works 3. The scheduler is NOT a web browser so things like cookies, _javascript_ actions, etc. will not happen. Be aware. 4. Be careful setting up the time. It's easy to want something running every hour and have it run once a day instead. Hey guys, i want to set the CF administrator to schedule exution of templates.Have you any experiences with that?Any problems or quirkiness? I want to make sure that it processes those templates everytime [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CFSCHEDULE
Michael Dinowitz wrote: 3. The scheduler is NOT a web browser so things like cookies, _javascript_ actions, etc. will not happen. Be aware. Just as a general FYI, scheduling templates to run thru IE via the Windows task scheduler -- assuming a Win machine of course -- changes this. c:\progra~1\intern~1\iexplore.exe http://123.456.789.012/foo/bar.cfm called either directly in the scheduler or from within a batch file will do the trick. -- --- Matt Robertson,[EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFSCHEDULE and file attribute problem
Are you talking code or the actual cfschedule block that executes. In your code if you are writing a custom log then just do cffile with att of append. Otherwise you may need to hack into MX to modify the way CFSchedule works?? Steve -Original Message- From: David Adams [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 1:39 PM To: CF-Talk Subject: CFSCHEDULE and file attribute problem I am using cfschedule with action set to update.Upon completion of the task it overwrites the file I have specified in the file attribute when I really want it to only append to the file. Any suggestions? _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: cfschedule | scheduled tasks
We run a scheduled process via CFSCHEDULE to send approximately 2,000 emails to members all in one shot. I think we have it set to kickoff at 5AM in the morning. Have had it running for a good while now w/o a problem. [EMAIL PROTECTED] 10/01/03 08:42AM hi there. just thinking about how to dynamically send reports to clients on a schedule and wondering how solid cfschedule and the scheduled tasks are in cfmx?I mean, does it barf or slow down or run into issues at any point in time/related to the amount of scheduled tasks are requested to run?if I have 100 clients that want a report @ midnight each Friday sent to an email, does cf tend to be the bottleneck?or would you say that they sql server or email server would be the bottleneck?any experiences good/bad would be nice :) thanks! ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfschedule | scheduled tasks
so if someone was going to make it so that cfscheduled events were individual to a user, and then give the user access to modify/update/delete/change the frequency how would one make it so that the tasks scheduled were unique to a user?I know how to get a list of all of the scheduled tasks and I know I could keep a record in sql server of each one scheduled, but I don't really see much that could be unique so as to indentify to the cf server when the user pulls up theirs...that its unique to them...maybe the username field? any ideas? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 8:47 AM To: CF-Talk Subject: Re: cfschedule | scheduled tasks We run a scheduled process via CFSCHEDULE to send approximately 2,000 emails to members all in one shot. I think we have it set to kickoff at 5AM in the morning. Have had it running for a good while now w/o a problem. [EMAIL PROTECTED] 10/01/03 08:42AM hi there. just thinking about how to dynamically send reports to clients on a schedule and wondering how solid cfschedule and the scheduled tasks are in cfmx?I mean, does it barf or slow down or run into issues at any point in time/related to the amount of scheduled tasks are requested to run?if I have 100 clients that want a report @ midnight each Friday sent to an email, does cf tend to be the bottleneck?or would you say that they sql server or email server would be the bottleneck?any experiences good/bad would be nice :) thanks! ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfschedule | scheduled tasks
Mark all the tasks starting with their user_ID such as:A101_SendStatReport that would mean that User ID 101 has a scheduled task called SendStatReport The A is just a place holder. Nothing more. The when you need to list all those for the user: WHERE Scheduled_Task LIKE 'A101_%' If it were databased or loop through the Task list and show only those that match the _expression_. [EMAIL PROTECTED] 10/01/03 09:11AM so if someone was going to make it so that cfscheduled events were individual to a user, and then give the user access to modify/update/delete/change the frequency how would one make it so that the tasks scheduled were unique to a user?I know how to get a list of all of the scheduled tasks and I know I could keep a record in sql server of each one scheduled, but I don't really see much that could be unique so as to indentify to the cf server when the user pulls up theirs...that its unique to them...maybe the username field? any ideas? ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 8:47 AM To: CF-Talk Subject: Re: cfschedule | scheduled tasks We run a scheduled process via CFSCHEDULE to send approximately 2,000 emails to members all in one shot. I think we have it set to kickoff at 5AM in the morning. Have had it running for a good while now w/o a problem. [EMAIL PROTECTED] 10/01/03 08:42AM hi there. just thinking about how to dynamically send reports to clients on a schedule and wondering how solid cfschedule and the scheduled tasks are in cfmx? I mean, does it barf or slow down or run into issues at any point in time/related to the amount of scheduled tasks are requested to run?if I have 100 clients that want a report @ midnight each Friday sent to an email, does cf tend to be the bottleneck?or would you say that they sql server or email server would be the bottleneck?any experiences good/bad would be nice :) thanks! ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Cfschedule syntax
Here is a working example cfschedule action=UPDATE task=Task_Name operation=HTTPRequest startdate=#start_date# starttime=#start_time# enddate=#end_date# interval=Daily resolveurl=No publish=No url=#s_URL# port=80 Qasim -Original Message- From: James Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 3:11 PM To: CF-Talk Subject: Cfschedule syntax Hello, I'm having a problem getting the syntax for cfschedule correct. I want to run a CF page which will query a db and run a batch of emails. That is done. What I'm having a problem with is the actual cfschedule tag. 1) Does the Task need to be setup before hand in CF Admin? 2) If it doesn't, I'm getting confused on the ACTION attributes RUN/UPDATE. The emailing page is called RR_email_results.cfm cfset stDate = #DateFormat(Now(),M/DD/YYY)# cfset stTime = #TimeFormat(Now(),h:mm tt)# cfset stTime = #DateAdd('N',10,Now())# cfset stTime = #TimeFormat(newTime,h:mm tt)# cfschedule action=update startdate=#stDate# starttime=#stTime# task=Test Schedule url=http://127.0.0.1/oryanresellerrecruit/RR_email_results.cfm; resolveurl=yes The error message I'm getting is: Attribute validation error for tag CFSCHEDULE. When the value of the ACTION attribute is UPDATE, the tag requires the attribute(s): INTERVAL,OPERATION. Does anyone have some sample code, they'd like to share? Thanks, James ~| 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cfschedule syntax
Here is a working example cfschedule action=UPDATE task=Task_Name operation=HTTPRequest startdate=#start_date# starttime=#start_time# enddate=#end_date# interval=Daily resolveurl=No publish=No url=#s_URL# port=80 Qasim -Original Message- From: James Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 3:11 PM To: CF-Talk Subject: Cfschedule syntax Hello, I'm having a problem getting the syntax for cfschedule correct. I want to run a CF page which will query a db and run a batch of emails. That is done. What I'm having a problem with is the actual cfschedule tag. 1) Does the Task need to be setup before hand in CF Admin? 2) If it doesn't, I'm getting confused on the ACTION attributes RUN/UPDATE. The emailing page is called RR_email_results.cfm cfset stDate = #DateFormat(Now(),M/DD/YYY)# cfset stTime = #TimeFormat(Now(),h:mm tt)# cfset stTime = #DateAdd('N',10,Now())# cfset stTime = #TimeFormat(newTime,h:mm tt)# cfschedule action=update startdate=#stDate# starttime=#stTime# task=Test Schedule url=http://127.0.0.1/oryanresellerrecruit/RR_email_results.cfm; resolveurl=yes The error message I'm getting is: Attribute validation error for tag CFSCHEDULE. When the value of the ACTION attribute is UPDATE, the tag requires the attribute(s): INTERVAL,OPERATION. Does anyone have some sample code, they'd like to share? Thanks, James ~| 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cfschedule syntax
I run this code every time a major change as taken place to update a static webpage. All you are missing is the interval and operation. cfset StartTime = #DateAdd('n',1,Now())# cfset StartTime = #TimeFormat(StartTime,'HH:MM:SS')# cfschedule interval=Once action=UPDATE task=BlueEar_UpdatePageContent operation=HTTPRequest url=http://192.168.0.90/LocalAgents/UpdateFrontpage.cfm; startdate=#DateFormat(Now(),'MM/DD/')# starttime=#StartTime# resolveurl=Yes publish=No Rick -Original Message- From: James Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 2:11 PM To: CF-Talk Subject: Cfschedule syntax Hello, I'm having a problem getting the syntax for cfschedule correct. I want to run a CF page which will query a db and run a batch of emails. That is done. What I'm having a problem with is the actual cfschedule tag. 1) Does the Task need to be setup before hand in CF Admin? 2) If it doesn't, I'm getting confused on the ACTION attributes RUN/UPDATE. The emailing page is called RR_email_results.cfm cfset stDate = #DateFormat(Now(),M/DD/YYY)# cfset stTime = #TimeFormat(Now(),h:mm tt)# cfset stTime = #DateAdd('N',10,Now())# cfset stTime = #TimeFormat(newTime,h:mm tt)# cfschedule action=update startdate=#stDate# starttime=#stTime# task=Test Schedule url=http://127.0.0.1/oryanresellerrecruit/RR_email_results.cfm; resolveurl=yes The error message I'm getting is: Attribute validation error for tag CFSCHEDULE. When the value of the ACTION attribute is UPDATE, the tag requires the attribute(s): INTERVAL,OPERATION. Does anyone have some sample code, they'd like to share? Thanks, James ~| 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: cfschedule question
jochem, thank you!! it will be wholly used by me and my company for our internal stuff and I have complete control over all aspects, so yeah...naming conventions not an issue, but thanks for the heads up! ill be playing with it tomorrow, and ill let u know how it all goes :) later man! ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 19, 2003 6:08 PM To: CF-Talk Subject: cfschedule question Dave Watts wrote: CFMX doesn't store any configuration information in the registry. I think that scheduled events are stored in \CFusionMX\lib\neo-cron.xml. But, rather than edit that file directly while CF is running, you might instead want to use the appropriate API. Jochem van Dieten's site has information on that; I don't remember the URL offhand, but I'm sure it's in the list archives somewhere. What you need to have is the cronservice and then listAll(). cflock name=serviceFactory type=exclusive timeout=10 cfscript factory = CreateObject(java, coldfusion.server.ServiceFactory); cronservice = factory.cronservice; tasks = cronservice.listAll(); /cfscript cfdump var=#tasks# /cflock This will return a complete list of all the scheduled tasks defined on the system. To make sure you can always identify which task belongs to who you should stick to some convention for the name. The actual changing of tasks can be done using cfschedule (be sure to revoke cfschedule permissions for your clients). Make sure your clients don't schedule anything between 02:00 and 03:00 because of DST issues. Jochem ~| 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfschedule question
Not without you building an application that can track what schedules are whos. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:00 AM To: CF-Talk Subject: cfschedule question hi there... is there a way with the cfschedule tag and the scheduler to give my clients access to scheduled events that are theirs? thank you ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 ~| 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfschedule question
that's fine, a db to handle that, but is there any way to expose whats in the scheduler? for them tomodify, and then update, and expect the results to happen next scheduled run? I mean, I could easily create a db table that has some parameter info in it, and then have a scheduled page run that would hit the db, get the parameters, row by row, parse the parameters, execute the reports that are generated and go from there, but wanted to tap the scheduler more than sql, but I wasnt sure if that info from the scheduler's schedule of events was exposable? thanks ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:06 AM To: CF-Talk Subject: RE: cfschedule question Not without you building an application that can track what schedules are whos. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:00 AM To: CF-Talk Subject: cfschedule question hi there... is there a way with the cfschedule tag and the scheduler to give my clients access to scheduled events that are theirs? thank you ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 ~| 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: cfschedule question
According to the refernce book, you can use the cfschedule tag to create,update, and delete a scheduled event. So I would say that you would need to have 2 tables, a client table and a schedule table. Store tha params of the scheduled event and just update or delete the event using the cfschedule tag. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:12 AM To: CF-Talk Subject: RE: cfschedule question that's fine, a db to handle that, but is there any way to expose whats in the scheduler? for them tomodify, and then update, and expect the results to happen next scheduled run? I mean, I could easily create a db table that has some parameter info in it, and then have a scheduled page run that would hit the db, get the parameters, row by row, parse the parameters, execute the reports that are generated and go from there, but wanted to tap the scheduler more than sql, but I wasnt sure if that info from the scheduler's schedule of events was exposable? thanks ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:06 AM To: CF-Talk Subject: RE: cfschedule question Not without you building an application that can track what schedules are whos. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:00 AM To: CF-Talk Subject: cfschedule question hi there... is there a way with the cfschedule tag and the scheduler to give my clients access to scheduled events that are theirs? thank you ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 ~| 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
RE: cfschedule question
so yeah, to update, I guess you update, based on the name of the event? so how do I get the events that are there, lets say I make a change to an event in the admin, and the user wasn't expecting it, is there a way to get that data, the scheduled events that are already there, to show whats available to change? otherwise, I got what ur saying, and that's what I was figuring, just wondering if I can get that data, the data to know what I getting ready to update, before updating? ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:29 AM To: CF-Talk Subject: RE: cfschedule question According to the refernce book, you can use the cfschedule tag to create,update, and delete a scheduled event. So I would say that you would need to have 2 tables, a client table and a schedule table. Store tha params of the scheduled event and just update or delete the event using the cfschedule tag. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:12 AM To: CF-Talk Subject: RE: cfschedule question that's fine, a db to handle that, but is there any way to expose whats in the scheduler? for them tomodify, and then update, and expect the results to happen next scheduled run? I mean, I could easily create a db table that has some parameter info in it, and then have a scheduled page run that would hit the db, get the parameters, row by row, parse the parameters, execute the reports that are generated and go from there, but wanted to tap the scheduler more than sql, but I wasnt sure if that info from the scheduler's schedule of events was exposable? thanks ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:06 AM To: CF-Talk Subject: RE: cfschedule question Not without you building an application that can track what schedules are whos. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:00 AM To: CF-Talk Subject: cfschedule question hi there... is there a way with the cfschedule tag and the scheduler to give my clients access to scheduled events that are theirs? thank you ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 ~| 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfschedule question
If your running CF5 depending on you havign access to use the CFRegistry function, you can get a listing from there. If I am not mistaken, it is located: HKEY_LOCAL_MACHINE\MACROMEDIA\ColdFusion\Schedule Something like that [EMAIL PROTECTED] 01/16/03 09:33AM so yeah, to update, I guess you update, based on the name of the event? so how do I get the events that are there, lets say I make a change to an event in the admin, and the user wasn't expecting it, is there a way to get that data, the scheduled events that are already there, to show whats available to change? otherwise, I got what ur saying, and that's what I was figuring, just wondering if I can get that data, the data to know what I getting ready to update, before updating? ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:29 AM To: CF-Talk Subject: RE: cfschedule question According to the refernce book, you can use the cfschedule tag to create,update, and delete a scheduled event. So I would say that you would need to have 2 tables, a client table and a schedule table. Store tha params of the scheduled event and just update or delete the event using the cfschedule tag. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:12 AM To: CF-Talk Subject: RE: cfschedule question that's fine, a db to handle that, but is there any way to expose whats in the scheduler? for them tomodify, and then update, and expect the results to happen next scheduled run? I mean, I could easily create a db table that has some parameter info in it, and then have a scheduled page run that would hit the db, get the parameters, row by row, parse the parameters, execute the reports that are generated and go from there, but wanted to tap the scheduler more than sql, but I wasnt sure if that info from the scheduler's schedule of events was exposable? thanks ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:06 AM To: CF-Talk Subject: RE: cfschedule question Not without you building an application that can track what schedules are whos. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:00 AM To: CF-Talk Subject: cfschedule question hi there... is there a way with the cfschedule tag and the scheduler to give my clients access to scheduled events that are theirs? thank you ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 ~| 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfschedule question
oh yeah, I have access, I host the servers, and they are mine :) so, cool, but not...i have cfmxi wonder can I get it from there... let me check! ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:36 AM To: CF-Talk Subject: RE: cfschedule question If your running CF5 depending on you havign access to use the CFRegistry function, you can get a listing from there. If I am not mistaken, it is located: HKEY_LOCAL_MACHINE\MACROMEDIA\ColdFusion\Schedule Something like that [EMAIL PROTECTED] 01/16/03 09:33AM so yeah, to update, I guess you update, based on the name of the event? so how do I get the events that are there, lets say I make a change to an event in the admin, and the user wasn't expecting it, is there a way to get that data, the scheduled events that are already there, to show whats available to change? otherwise, I got what ur saying, and that's what I was figuring, just wondering if I can get that data, the data to know what I getting ready to update, before updating? ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:29 AM To: CF-Talk Subject: RE: cfschedule question According to the refernce book, you can use the cfschedule tag to create,update, and delete a scheduled event. So I would say that you would need to have 2 tables, a client table and a schedule table. Store tha params of the scheduled event and just update or delete the event using the cfschedule tag. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:12 AM To: CF-Talk Subject: RE: cfschedule question that's fine, a db to handle that, but is there any way to expose whats in the scheduler? for them tomodify, and then update, and expect the results to happen next scheduled run? I mean, I could easily create a db table that has some parameter info in it, and then have a scheduled page run that would hit the db, get the parameters, row by row, parse the parameters, execute the reports that are generated and go from there, but wanted to tap the scheduler more than sql, but I wasnt sure if that info from the scheduler's schedule of events was exposable? thanks ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:06 AM To: CF-Talk Subject: RE: cfschedule question Not without you building an application that can track what schedules are whos. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:00 AM To: CF-Talk Subject: cfschedule question hi there... is there a way with the cfschedule tag and the scheduler to give my clients access to scheduled events that are theirs? thank you ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 ~| 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfschedule question
nope, anyone know the cfmx reg keys that this might be stored in? ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:36 AM To: CF-Talk Subject: RE: cfschedule question If your running CF5 depending on you havign access to use the CFRegistry function, you can get a listing from there. If I am not mistaken, it is located: HKEY_LOCAL_MACHINE\MACROMEDIA\ColdFusion\Schedule Something like that [EMAIL PROTECTED] 01/16/03 09:33AM so yeah, to update, I guess you update, based on the name of the event? so how do I get the events that are there, lets say I make a change to an event in the admin, and the user wasn't expecting it, is there a way to get that data, the scheduled events that are already there, to show whats available to change? otherwise, I got what ur saying, and that's what I was figuring, just wondering if I can get that data, the data to know what I getting ready to update, before updating? ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:29 AM To: CF-Talk Subject: RE: cfschedule question According to the refernce book, you can use the cfschedule tag to create,update, and delete a scheduled event. So I would say that you would need to have 2 tables, a client table and a schedule table. Store tha params of the scheduled event and just update or delete the event using the cfschedule tag. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:12 AM To: CF-Talk Subject: RE: cfschedule question that's fine, a db to handle that, but is there any way to expose whats in the scheduler? for them tomodify, and then update, and expect the results to happen next scheduled run? I mean, I could easily create a db table that has some parameter info in it, and then have a scheduled page run that would hit the db, get the parameters, row by row, parse the parameters, execute the reports that are generated and go from there, but wanted to tap the scheduler more than sql, but I wasnt sure if that info from the scheduler's schedule of events was exposable? thanks ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:06 AM To: CF-Talk Subject: RE: cfschedule question Not without you building an application that can track what schedules are whos. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:00 AM To: CF-Talk Subject: cfschedule question hi there... is there a way with the cfschedule tag and the scheduler to give my clients access to scheduled events that are theirs? thank you ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 ~| 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfschedule question
or are they stored in like some sort of xml file that I could tap into? ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:41 AM To: CF-Talk Subject: RE: cfschedule question nope, anyone know the cfmx reg keys that this might be stored in? ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Randell B Adkins [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:36 AM To: CF-Talk Subject: RE: cfschedule question If your running CF5 depending on you havign access to use the CFRegistry function, you can get a listing from there. If I am not mistaken, it is located: HKEY_LOCAL_MACHINE\MACROMEDIA\ColdFusion\Schedule Something like that [EMAIL PROTECTED] 01/16/03 09:33AM so yeah, to update, I guess you update, based on the name of the event? so how do I get the events that are there, lets say I make a change to an event in the admin, and the user wasn't expecting it, is there a way to get that data, the scheduled events that are already there, to show whats available to change? otherwise, I got what ur saying, and that's what I was figuring, just wondering if I can get that data, the data to know what I getting ready to update, before updating? ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:29 AM To: CF-Talk Subject: RE: cfschedule question According to the refernce book, you can use the cfschedule tag to create,update, and delete a scheduled event. So I would say that you would need to have 2 tables, a client table and a schedule table. Store tha params of the scheduled event and just update or delete the event using the cfschedule tag. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:12 AM To: CF-Talk Subject: RE: cfschedule question that's fine, a db to handle that, but is there any way to expose whats in the scheduler? for them tomodify, and then update, and expect the results to happen next scheduled run? I mean, I could easily create a db table that has some parameter info in it, and then have a scheduled page run that would hit the db, get the parameters, row by row, parse the parameters, execute the reports that are generated and go from there, but wanted to tap the scheduler more than sql, but I wasnt sure if that info from the scheduler's schedule of events was exposable? thanks ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:06 AM To: CF-Talk Subject: RE: cfschedule question Not without you building an application that can track what schedules are whos. HTH, Clint -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 8:00 AM To: CF-Talk Subject: cfschedule question hi there... is there a way with the cfschedule tag and the scheduler to give my clients access to scheduled events that are theirs? thank you ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 ~| 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfschedule question
nope, anyone know the cfmx reg keys that this might be stored in? CFMX doesn't store any configuration information in the registry. I think that scheduled events are stored in \CFusionMX\lib\neo-cron.xml. But, rather than edit that file directly while CF is running, you might instead want to use the appropriate API. Jochem van Dieten's site has information on that; I don't remember the URL offhand, but I'm sure it's in the list archives somewhere. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfschedule question
ok, thank dave. yeah, I do see those in the neo-cron.xml file...so, the question now, maybe for christian is, how the heck can I tap into that? manage the schedule, etc...what I don't want to do I just blind updating of events. ...tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping reporting www.navtrak.net 410.548.2337 -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 10:44 AM To: CF-Talk Subject: RE: cfschedule question nope, anyone know the cfmx reg keys that this might be stored in? CFMX doesn't store any configuration information in the registry. I think that scheduled events are stored in \CFusionMX\lib\neo-cron.xml. But, rather than edit that file directly while CF is running, you might instead want to use the appropriate API. Jochem van Dieten's site has information on that; I don't remember the URL offhand, but I'm sure it's in the list archives somewhere. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| 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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFSCHEDULE - unknown exception condition (more details)
Some further analysis shows that at the same time that the error was logged in my coldfusion server application.log file, there was also an entry in my Win 2K server's event viewer application.log file : Event Type: Information Event Source: DrWatson Event Category: None Event ID: 4097 Date: 8/28/2002 Time: 9:42:09 AM User: N/A Description: The application, , generated an application error The error occurred on 08/28/2002 09:42:09.323 The exception generated was c005 at address (nosymbols) Does anyone know what might be causing this kind of error message in my application logs ? You'll need to view your Dr. Watson application crash logs to determine the errant process. Run drwtsn32.exe from the command line, then find the appropriate error and view it. You should be able to tell which process caused the error. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ 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
Re: CFSCHEDULE - unknown exception condition (more details)
Maybe this could help you narrow down your problem... ...This error indicates that the internal error handling for MTS or COM+, which is known as Failfast, caught a potentially fatal exception. There are a wide variety of causes, and the event description includes specific error information about the nature and cause of the exception. See the link below for instructions on how to troubleshoot this event... See also... http://support.microsoft.com/default.aspx?scid=kb;en-us;Q286365 Hope this helps... -Novak - Original Message - From: Vishal Narayan [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:34 PM Subject: CFSCHEDULE - unknown exception condition (more details) Some further analysis shows that at the same time that the error was logged in my coldfusion server application.log file, there was also an entry in my Win 2K server's event viewer application.log file : Event Type: Information Event Source: DrWatson Event Category: None Event ID: 4097 Date: 8/28/2002 Time: 9:42:09 AM User: N/A Description: The application, , generated an application error The error occurred on 08/28/2002 @ 09:42:09.323 The exception generated was c005 at address (nosymbols) Does anyone know what might be causing this kind of error message in my application logs ? Vishal __ 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
RE: CFSchedule Private SSL certificate
Is this on CFMX? If so you have to manually import the certificate using the keytool utility... Instructions: (scroll down to Secure LDAP connections) http://www.macromedia.com/v1/handlers/index.cfm?ID=22993Method=Full Setting up a private cert: http://www.macromedia.com/support/coldfusion/using/ssl_with_cf_web_server/ss l_with_cf_web_server03.html -Original Message- From: Jesse Houwing [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 3:25 PM To: CF-Talk Subject: CFSchedule Private SSL certificate I've got a little problem. I've got a site that is using a private SSL certificate (generated on the same server on which coldfusion is running). But this certificate doesn't pass as correct SSL cert, and CFSchedule fails. But as the hostname is on a internal domain, I can't get a real ssl certficate for it, and it shouldn't be necessairy. So my question is: How can I make coldfusion trust my private certficate? Btw, CFHTTP also fails on this :( Jesse __ Get the mailserver that powers this list at http://www.coolfusion.com 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: CFSchedule Private SSL certificate
Have you installed the CA onto the server as a trused root authority? Jesse Houwing wrote: I've got a little problem. I've got a site that is using a private SSL certificate (generated on the same server on which coldfusion is running). But this certificate doesn't pass as correct SSL cert, and CFSchedule fails. But as the hostname is on a internal domain, I can't get a real ssl certficate for it, and it shouldn't be necessairy. So my question is: How can I make coldfusion trust my private certficate? Btw, CFHTTP also fails on this :( Jesse __ Get the mailserver that powers this list at http://www.coolfusion.com 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: CFSchedule Private SSL certificate
Marlon Moyer wrote: Have you installed the CA onto the server as a trused root authority? It is installed in IIS as trusted root authority. And I've since added the certificate to the certificate store. I've got a little problem. I've got a site that is using a private SSL certificate (generated on the same server on which coldfusion is running). But this certificate doesn't pass as correct SSL cert, and CFSchedule fails. But as the hostname is on a internal domain, I can't get a real ssl certficate for it, and it shouldn't be necessairy. So my question is: How can I make coldfusion trust my private certficate? __ 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
Re: CFSchedule Private SSL certificate
Stacy Young wrote: Is this on CFMX? If so you have to manually import the certificate using the keytool utility... Instructions: (scroll down to Secure LDAP connections) http://www.macromedia.com/v1/handlers/index.cfm?ID=22993Method=Full I tried this, but it still doesn't work. Java did say it added the certificate to the store, but I still can't let cfschedule connect to the page. Setting up a private cert: http://www.macromedia.com/support/coldfusion/using/ssl_with_cf_web_server/ss l_with_cf_web_server03.html This doesn't apply as I'm running Coldfusion in IIS. Jesse __ Get the mailserver that powers this list at http://www.coolfusion.com 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: CFSchedule
Nothing too difficult about CF schedule, just point it to a page that runs normally. I see your url is under /admin. If you have security built in to application.cfm of that directory, you won't be able to get in with your scheduled tag as far as I know. I had to do something like this with cfschedule, so I made another directory under admin, call it schedule and only would run the template with a password in the url variable, so your scheduled tag url might look like this. http://www.mydomain.com/admin/email/scheduler/test_email_process.cfm?accesscode=OIEiorJD833Ksjd Nothing is output in the template, so great security is not really necessary. Just run your report output within cfmail tags. Also keep in mind it won't work in https mode. Chris Any good tutorials on this subject - all I've seen in numerous books is examples of running reports at determined intervals. What I want to do is run a template which contains a query and then outputs the results to CFMAIL. Can I do this using CFSchedule, or is there a better way? Here's what I have now, and it won't work (I'm on a shared server with no access to the CF Admin functions): Any assistance or suggestions is/are appreciated. Thanks, Mark - !---Scheduler Template--- CFSCHEDULE ACTION=UPDATE TASK=TestMessage OPERATION=HTTPRequest URL=http://www.mydomain.com/admin/email/scheduler/test_email_process.cfm; STARTDATE=01/24/02 STARTTIME=06:45:00 INTERVAL=DAILY RESOLVEURL=No PUBLISH=No /cfschedule !---Query/Email Sendout Template--- CFQUERY NAME=q_sub DATASOURCE=uspc SELECT * FROM t_email, t_msg, t_sig, t_subcat, t_unsub_msg WHERE t_email.subcat_h = t_msg.t_subcat_ID AND t_msg.t_subcat_ID = t_subcat.sc_id AND t_msg.dateofsend = DateValue(Now()) /CFQUERY CFIF q_sub.recordcount IS 0cfabort/cfif !--- Send out mail to the specified group--- CFMAIL QUERY=q_sub GROUP = email GROUPCASESENSITIVE=No STARTROW=1 TO=#firstname# #lastname# #email# FROM=John Doe [EMAIL PROTECTED] SUBJECT=#msg_subject# CC=#copy_to# BCC=#blind_copy_to# SERVER=127.0.0.1 cfmailparam name=Reply-To value=John Doe [EMAIL PROTECTED] cfif q_sub.vit_ID NEQ 0#trim(thought)# --#trim(author)##crlf##crlf#/cfif cfif q_sub.txtmessage IS NOT #Trim(txtmessage)##crlf##crlf#/cfif cfif unsublink IS Yes#trim(unsub_msg)##crlf##crlf#/cfif cfif msg_sig IS Yes#trim(sig_line)#/cfif /CFMAIL !---Send a confirming Email to Mydomain.com indicating that the messages have been delivered.--- !---Do not suppress whitespace in the email message--- CFPROCESSINGDIRECTIVE SUPPRESSWHITESPACE=No CFMAIL TO=John Doe [EMAIL PROTECTED] FROM=John Doe [EMAIL PROTECTED] SUBJECT=Email Message Center Delivery Success SERVER=127.0.0.1 As of #LSDateFormat(Now(), dd, )# #LSTimeformat(Now(), hh:mm:ss)#, #q_sub.recordcount# subscribers have been provided a #q_sub.sub_category# message via automated email. END OF MESSAGE /CFMAIL /CFPROCESSINGDIRECTIVE cfabort __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb 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: cfSchedule is not doing anything
grasping at straws but does administrator use dates in dd/mm/ format or is it provincial ;) and take only mm/dd/ format? - Original Message - From: John McCosker [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, November 13, 2001 9:03 AM Subject: cfSchedule is not doing anything Hi there!! I'm not getting any results from my cfshedule here. The schedule at a certain time will compile a report from date A to date B and write to an XML or Excel document. The client is still deciding on that one. So for the time being it is just sending a test email. The template runs OK when tested, i.e. the email is sent, but will never run through the admin when Run directly or set to run at a given time. I checked the archives AND faq: Bruce, Rodney had the exact same problem but the thread just stopped, the coversataion was never completed. I have also emailed Bruce off list. FAQ didn't cover this problem. My basic code. CFIF isDefined(FORM.createCustomisedSchedule) !--- // schedule custom tag |--- CFSET second=00 CFSET NEWStartDate=createDate(FORM.displayYear, FORM.displayMonth, FORM.displayDay) CFSET NEWStartTime=createTime(FORM.hour, FORM.minute, second) CF_createSchedule scheduleOption=#FORM.scheduleOption# schName=#FORM.scheduleName# schInterval=#FORM.scheduleInterval# startDate=#NEWStartDate# startTime=#NEWStartTime# custInterval=#FORM.dailyInterval# newSchDir=#FORM.newSchDirectory# vehidList=#FORM.SelectedItems# /CFIF tag template CFIF ATTRIBUTES.scheduleOption EQ New !--- CFSET intVal=(60*60) --- CFIF ATTRIBUTES.custInterval GT 1 CFSET intVal=(ATTRIBUTES.custInterval*24) CFSET intVal=(intVal*60) CFSET intVal=(intVal*60) /CFIF CFIF ATTRIBUTES.schInterval EQ Customise CFSCHEDULE action=UPDATE task=#ATTRIBUTES.schName# operation=HTTPRequest startDate=#dateFormat(ATTRIBUTES.startDate, 'DD/MM/')# startTime=#timeFormat(ATTRIBUTES.startTime, 'hh:mm:ss')# interval=#intVal# url=#request.secureScheduleRoot#EXECUTE/RUNSchedule.cfm /CFIF /CFIF Is there something I am not doing maybe? Thanks in advance anyone. ~~ Get the mailserver that powers this list at http://www.coolfusion.com 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: cfSchedule is not doing anything
Do I have to have the coldfusion executive running for CFShedule to work on an NT server or Just when using LocalHost. Ahh just as I am writing a reply to myself, incoming mail. grasping at straws but does administrator use dates in dd/mm/ format or is it provincial ;) and take only mm/dd/ format? Administrator seems fine when recieiving it in dd/mm/ but sets it to mm/dd/ anyway. -Original Message- From: John McCosker [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 4:03 PM To: CF-Talk Subject: cfSchedule is not doing anything Hi there!! I'm not getting any results from my cfshedule here. The schedule at a certain time will compile a report from date A to date B and write to an XML or Excel document. The client is still deciding on that one. So for the time being it is just sending a test email. The template runs OK when tested, i.e. the email is sent, but will never run through the admin when Run directly or set to run at a given time. I checked the archives AND faq: Bruce, Rodney had the exact same problem but the thread just stopped, the coversataion was never completed. I have also emailed Bruce off list. FAQ didn't cover this problem. My basic code. CFIF isDefined(FORM.createCustomisedSchedule) !--- // schedule custom tag |--- CFSET second=00 CFSET NEWStartDate=createDate(FORM.displayYear, FORM.displayMonth, FORM.displayDay) CFSET NEWStartTime=createTime(FORM.hour, FORM.minute, second) CF_createSchedule scheduleOption=#FORM.scheduleOption# schName=#FORM.scheduleName# schInterval=#FORM.scheduleInterval# startDate=#NEWStartDate# startTime=#NEWStartTime# custInterval=#FORM.dailyInterval# newSchDir=#FORM.newSchDirectory# vehidList=#FORM.SelectedItems# /CFIF tag template CFIF ATTRIBUTES.scheduleOption EQ New !--- CFSET intVal=(60*60) --- CFIF ATTRIBUTES.custInterval GT 1 CFSET intVal=(ATTRIBUTES.custInterval*24) CFSET intVal=(intVal*60) CFSET intVal=(intVal*60) /CFIF CFIF ATTRIBUTES.schInterval EQ Customise CFSCHEDULE action=UPDATE task=#ATTRIBUTES.schName# operation=HTTPRequest startDate=#dateFormat(ATTRIBUTES.startDate, 'DD/MM/')# startTime=#timeFormat(ATTRIBUTES.startTime, 'hh:mm:ss')# interval=#intVal# url=#request.secureScheduleRoot#EXECUTE/RUNSchedule.cfm /CFIF /CFIF Is there something I am not doing maybe? Thanks in advance anyone. ~~ 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
RE: cfSchedule is not doing anything
Do I have to have the coldfusion executive running for CFSchedule to work on an NT server or Just when using LocalHost. Yes, the CF Executive service must be running to use CFSCHEDULE or the scheduling options in CF Admin. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: (202) 797-5496 fax: (202) 797-5444 ~~ Get the mailserver that powers this list at http://www.coolfusion.com 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: CFSchedule
On 10/29/01, [EMAIL PROTECTED] penned: Quick question for you, I ran into an interesting note when reading through the documentation for this tag. Note You cannot use CFSCHEDULE and apply the Secure Sockets Layer (SSL) to your application. Do I take this to mean I can not schedule my intranet application which uses SSL to execute CF pages in the middle of the night? Are there ways around this, such as a custom tag of some sort? I have templates running through https from my scheduler. Just make sure you enter 443 as the port. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ ~~ Get the mailserver that powers this list at http://www.coolfusion.com 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: cfschedule question
A number of potential issues. Does the script rely on user agent? Permissions perhaps? How about firewall issues? (I ran into this one not too long ago - seems that localhost wasn't on the list of acceptable IP addresses) --- Billy Cravens HR Systems, EDS [EMAIL PROTECTED] -Original Message- From: Mak Wing Lok [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 16, 2001 7:44 PM To: CF-Talk Subject: Re: cfschedule question i use cfschedule to make http call on other pages that run some perl script the problem is that the perl script has not been run at all, but if i run those pages direct from the browser then the perl script is execute, why is that? - Original Message - From: Howie Hamlin [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 8:37 PM Subject: Re: cfschedule question CFSchedule calls pages via http so it should be able to do what you're looking for. HTH, Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. www.CoolFusion.com 631-737-4668 x101 inFusion Mail Server (iMS) - The Intelligent Mail Server Join the DevCon community at www.coolfusion.com/devcon - Original Message - From: Mak Wing Lok [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 4:05 AM Subject: cfschedule question hi, just curious, is cfschedule able to schdule-call pages from .asp, .php or any other valid http pages? ~~ 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
Re: cfschedule question
CFSchedule calls pages via http so it should be able to do what you're looking for. HTH, Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. www.CoolFusion.com 631-737-4668 x101 inFusion Mail Server (iMS) - The Intelligent Mail Server Join the DevCon community at www.coolfusion.com/devcon - Original Message - From: Mak Wing Lok [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 4:05 AM Subject: cfschedule question hi, just curious, is cfschedule able to schdule-call pages from .asp, .php or any other valid http pages? ~~ 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
Re: cfschedule question
i use cfschedule to make http call on other pages that run some perl script the problem is that the perl script has not been run at all, but if i run those pages direct from the browser then the perl script is execute, why is that? - Original Message - From: Howie Hamlin [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 8:37 PM Subject: Re: cfschedule question CFSchedule calls pages via http so it should be able to do what you're looking for. HTH, Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. www.CoolFusion.com 631-737-4668 x101 inFusion Mail Server (iMS) - The Intelligent Mail Server Join the DevCon community at www.coolfusion.com/devcon - Original Message - From: Mak Wing Lok [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, August 16, 2001 4:05 AM Subject: cfschedule question hi, just curious, is cfschedule able to schdule-call pages from .asp, .php or any other valid http pages? ~~ 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
RE: CFSCHEDULE
Any comments, experiences that would enlighten me more on this strange semi-documented tag? None other than I've never managed to get the scheduler to work via the ColdFusion Administrator, let alone via the tag. I hope this has been fixed in v5, but I'm not holding my breath... Aidan -- Aidan Whitehall [EMAIL PROTECTED] Macromedia ColdFusion Developer Fairbanks Environmental +44 (0)1695 51775 ~~ 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
Re: cfschedule not working
Iuse the following to set and run a scheduled task: cfschedule action=UPDATE task=#FORM.TaskName# operation=HTTPRequest url=#CompleteURL# startdate=#FORM.StartDate# starttime=#FORM.StartTime# enddate=#FORM.EndDate# endtime=#FORM.EndTime# interval=#FORM.Interval# RequestTimeout=#FORM.RequestTimout# As you can see, all the input is from a form (I set today's date and time as the default starting date and time blank as the end time Runs on CF 4.5 HTH Dick At 4:38 PM -0700 7/17/01, S R wrote: Hi, I've never been able to get cfschedule to work programmatically but I really need to so it this time. The problem I'm trying to solve is to create a form that someone can fill out to time exactly when their press release goes live. They create the press release and save it as a 'work in progress' then I've created a form that they will specify when they want it to become 'Live'. I'm 'hardcoding' dates and times right now just trying to see if it works and it is not. Is it supposed to show up in the CFAdmin as a new task once I run this page? I'm using CF 4.5 and my interval in CFAdmin is set to 15. Here's my code: CFSET StartDate = #DateFormat(#Now()#, mm/dd/)# CFSET StartTime = #TimeFormat(#CreateTime(16, 20, 0)#, h:hhtt)# cfschedule task=PublishPress action=RUN url=http://www.mypath.com/myfolder/mySubFolder/act_publish.cfm; startdate=#StartDate# starttime=#StartTime# ~~ 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: CFSCHEDULE in background
There is no way really - unless you upgrade to cf hawaii (5-0h) and use cfflush (or unless you use js to open a remote window that calls the cfschedule page in the background (i.e. under the main window) - then use a close window function at the end of the schdule page - while you also use a reload.opener function on the main page) J -Original Message- From: Andrew Howe [mailto:[EMAIL PROTECTED]] Sent: 11 June 2001 12:43 To: CF-Talk Subject: CFSCHEDULE in background I want to get CFSCHEDULE to run in the background (to create a text file), and load NewPage.cfm while it is still running. However, in the following code, NewPage does not load until CFSCHEDULE has finished running. (I am using CF 4.5.1.) Any suggestions? CFSCHEDULE ACTION=UPDATE TASK=TaskName OPERATION=HTTPRequest URL=http://127.0.0.1/Script.cfm; STARTDATE=6/6/01 STARTTIME=10:53 AM INTERVAL=Once RESOLVEURL=No PUBLISH=No REQUESTTIMEOUT=600 cfschedule action=RUN task=TaskName cflocation url=NewPage.cfm Thanks Andrew ~~ 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: CFSCHEDULE in background
Thanks for the JavaScript tip: I have used JS to open and then immediately close a window containing a template with the CFSCHEDULE code. This kicks off the process as I intended. Andrew - Original Message - From: James Maltby [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 11, 2001 12:56 PM Subject: RE: CFSCHEDULE in background There is no way really - unless you upgrade to cf hawaii (5-0h) and use cfflush (or unless you use js to open a remote window that calls the cfschedule page in the background (i.e. under the main window) - then use a close window function at the end of the schdule page - while you also use a reload.opener function on the main page) J -Original Message- From: Andrew Howe [mailto:[EMAIL PROTECTED]] Sent: 11 June 2001 12:43 To: CF-Talk Subject: CFSCHEDULE in background I want to get CFSCHEDULE to run in the background (to create a text file), and load NewPage.cfm while it is still running. However, in the following code, NewPage does not load until CFSCHEDULE has finished running. (I am using CF 4.5.1.) Any suggestions? CFSCHEDULE ACTION=UPDATE TASK=TaskName OPERATION=HTTPRequest URL=http://127.0.0.1/Script.cfm; STARTDATE=6/6/01 STARTTIME=10:53 AM INTERVAL=Once RESOLVEURL=No PUBLISH=No REQUESTTIMEOUT=600 cfschedule action=RUN task=TaskName cflocation url=NewPage.cfm Thanks Andrew ~~ 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: cfschedule behind protected directory
Run the scheduled script with url params you know they're VALID. - Original Message - From: "Chris Giminez" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Thursday, April 19, 2001 9:08 PM Subject: cfschedule behind protected directory I am using cf security to protect a directory. If the user is not logged in (with a correctly defined session variable) they are redirected to a login page in a different directory. I would like to run cfschedule for a page that is located in the protected directory. It cannot access it due to the redirection. How can I get this to run under cfschedule without removing it from this protected directory or changing the method of security? Best Regards, Chris Giminez Owner - Cyber Scriber Toll Free: 866-CYBER-SC (292-3772) ~~ 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: cfschedule rerun if fails?
Schedule a wrapper page that calls your page and tests that it ran successfully, re-running it if necessary. At 07:36 PM 3/26/01 -0500, Jack Monteleagre wrote: Hi, I'm trying to come up with a solution where I can use cfschedule to execute a page. If the page fails then cfschedule runs again until the page correctly executes. Is there anyway to do this? I'm trying to stay away from CF Admin to set up the scheduling. And thus would like to use cfschedule tag instead. Another question do I have to define the scheduled event first with a UPDATE and then with a RUN for the action? Or will the action UPDATE actually execute the scheduled event that I define in the tag right away? Thanks, Jack ~~ 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: cfschedule
CF runs schedules server-side. They would run if you had zero traffic. If I understand your question correctly, you want the scheduler to run a page that is normally hit by a user and maybe the page requires the session var(?). You can pass variables into the page in the scheduler by placing them in the URL to be executed if you want. Name them the same as the vars created when someone logs in, and you can mimic a user login. HTH. - Original Message - From: "sebastian palmigiani" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Tuesday, December 26, 2000 7:14 AM Subject: cfschedule I have a member web site where each person has a user id and password and a a login session variable is set when there is an accurate login. I will be running cfschedule tasks. Will these tasks be prevented from running because of the absence of the log in session variable? Sebastian ~ Paid Sponsorship ~ Get Your Own Dedicated Win2K Server! Instant Activation for $99/month w/Free Setup from SoloServer PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support Visit SoloServer, https://secure.irides.com/clientsetup.cfm. Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists