Re: Cron not working

"Hannes Wallnoefer" <[email protected]>
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
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 <[email protected]>:
> 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 <[email protected]> wrote:
> > 2007/3/9, Hannes Wallnoefer <[email protected]>:
> > > 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
> > [email protected]
> > http://helma.org/mailman/listinfo/helma-user
> >
>
>
> --
> cintoo Open Source software
> [email protected]
> Blog at http://stephan.cintoo.org - it's all in your head
> _______________________________________________
> Helma-user mailing list
> [email protected]
> http://helma.org/mailman/listinfo/helma-user
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.