Before this jumps the wall to fbcom ... cfschedule seems to be a bit of a donkey, in this way it's not very fusebox friendly - it can't seem to cross the line from one template to another, so if you are in any situation with your routine that calls for some sort of persistent or passed variable, it just don't work beyond the first template. Session variables don't seem to work with it, neither does cflocation seem to work, so in one project i worked on, i realized i needed to adapt my stratagy to pass a variable to another template. i settled on Bert Dawson's suggestion of including the fbx_switch, and it worked a treat.
Alan McCollough wrote: > Sorry folks, this whole thread looks fbcommunity-ish, so I'll just post > my > final comment here to get it over with. > > By "tunneling down" i mean, if you've got a secured app, and within it > you > have a subdirectory or even a single template you want directly executed > by > the Scheduler, forget it. Save your hair and relocate the Scheduler > components to a separate directory. > > Okay, back to work. > > > -----Original Message----- > > From: David Grabbe [SMTP:[EMAIL PROTECTED]] > > Sent: Thursday, June 13, 2002 10:20 AM > > To: [EMAIL PROTECTED] > > Subject: RE: CF Scheduler not working with a FB's URL? > > > > > > Thanks, Alan. It looks like I had the security a little too tight -- > > we'll see how the next scheduled task goes. > > > > BTW, what do you mean by the Scheduler "tunneling down to a > > subdirectory"? > > -- do you mean that if I have a fuseaction in a circuit that is not the > > "home" circuit (i.e. in a subdirectory) that scheduler may choke? What > > a > > pain... :) > > > > Thanks again, > > David > > ------------------------------------ > > David Grabbe > > News Editor > > World Watch Daily > > [EMAIL PROTECTED] > > <http://worldwatchdaily.org> > > > > > > > > -----Original Message----- > > From: Alan McCollough [ <mailto:[EMAIL PROTECTED]>] > > Sent: Thursday, June 13, 2002 2:15 PM > > To: '[EMAIL PROTECTED]' > > Subject: RE: CF Scheduler not working with a FB's URL? > > > > > > I've found the Scheduler to be one very persnickity hassle. > > > > Here is the generic answer, IMHO, to all Scheduler problems: > > > > Assuming you are in a Windows environment running IIS - If not, it may > > still > > apply... > > > > You've gotta be 100% sure your FB app that is scheduled is available to > > the > > anonymous account IIS uses (IUSR_xyz). In IIS, make sure "Allow > > Anonymous > > Access" is checked, and that the other security options are not checked. > > > > > > Within the scheduled task, you -can- pass username/password credentials, > > but > > I never got those to work, even when following the instructions that > > indicate they are for "Basic" authentication. Well, it's basic, all > > right. > > > > It doesn't work. > > > > Oh, and hoping you can get the Scheduler to tunnel down to a > > subdirectory > > within your application? Forget it! (IMHO, again) > > > > I've found the only sure-fire way to get Scheduler tasks to run is to > > isolate them into a special directory reserved for such a purpose. You > > could > > call it somethign unique like "scheduled_tasks", or maybe "ishkabibble" > > if > > > > that sounds more impressive. And... since this directory is supposed to > > be > > > > for scheduled tasks only, don't put in any components you don't want > > indexed/spidered by such items. More IMHO advice. > > > > Moral of the story? Scheduler does not like any security. > > > > > -----Original Message----- > > > From: David Grabbe [SMTP:[EMAIL PROTECTED]] > > > Sent: Thursday, June 13, 2002 8:14 AM > > > To: [EMAIL PROTECTED] > > > Subject: CF Scheduler not working with a FB's URL? > > > > > > Hello everyone, > > > > > > I have a fuseaction that send out a daily news alert/newsletter. > > > > > When I call the fuseaction from within a browser, everything works fine. > > > > > But if I put the exact same URL into the CF Scheduler, no emails get > > sent. > > > I can see from the logs that the fuseaction IS being called at the > > correct > > > time, but no emails are produced. Has anyone run into a problem with FB > > > > > and the Scheduler before? > > > > > > Best regards, > > > David > > > > > > > > > ------------------------------------ > > > David Grabbe > > > News Editor > > > World Watch Daily > > > [EMAIL PROTECTED] < <mailto:[EMAIL PROTECTED]>> > > > < <http://worldwatchdaily.org>> > > > > > > > > > > > > ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
