[Helma-user] Cron not working
Hannes Wallnoefer
hannesw at gmail.com
Sat Mar 10 20:09:42 CET 2007
I'm not sure I understand: do you still have this problem?
If you have the function defined globally, you should be able to call
it from any other function or action:
function test_action() {
doSomething();
}
Putting the function declaration in Global/Global.js seems ok, but it
depends on how you define/add the repositories for your app.
hannes
2007/3/9, Stephan Schmidt <stephan at mud.de>:
> Yes I think so too.
>
> > cat apps/reposita/code/Global/Global.js
> function doSomething() {
> app.log("doSomething now actually does something!!!");
> return;
> }
>
> > cat apps/reposita/Global/Global.js
> function doSomething() {
> app.log("doSomething now actually does something!!!");
> return;
> }
>
> Do I need to put the function somewhere else?
>
> bye
> -stephan
>
> On 3/9/07, Hannes Wallnoefer <hannesw at gmail.com> wrote:
> > 2007/3/9, Hannes Wallnoefer <hannesw at gmail.com>:
> > > I just checked, and I think what's going on is that Helma doesn't
> > > complain if a scheduler function isn't defined. I'm surprised about
> > > this myself, and I would tend to classify this as bug.
> >
> > Ok, after some software archeology, I found that overgoing undefined
> > functions is a byproduct of the fix for
> > http://helma.org/bugs/show_bug.cgi?id=436
> >
> > I think the old "aborted" message was indeed inappropriate, but there
> > should be a simple and concise message that a function we tried to
> > invoke isn't implemented. I'll try to find an appropriate solution.
> >
> > hannes
> > _______________________________________________
> > Helma-user mailing list
> > Helma-user at helma.org
> > http://helma.org/mailman/listinfo/helma-user
> >
>
>
> --
> cintoo Open Source software
> stephan at cintoo.org
> Blog at http://stephan.cintoo.org - it's all in your head
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
>
More information about the Helma-user
mailing list