[Helma-user] Cron not working

Hannes Wallnoefer hannesw at gmail.com
Fri Mar 9 11:36:34 CET 2007


Hi Stephan and Robert,

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.

Stephan, can you check if you have  a function doSomething() defined
somewhere in your Global scope?

Hannes

2007/3/9, robert.gaggl at orf.at <robert.gaggl at orf.at>:
> i don't get it. i tried exactly the same thing in a test application,
> and everything works as expected - the cron job is executed every
> minute.
>
> robert
>
> > -----Original Message-----
> > From: helma-user-bounces at helma.org
> > [mailto:helma-user-bounces at helma.org] On Behalf Of Stephan Schmidt
> > Sent: Friday, March 09, 2007 8:31 AM
> > To: Helma User Mailing List
> > Subject: Re: [Helma-user] Cron not working
> >
> > noname:~/Projects/reposita-core/trunk/helma stephan$ cat
> > apps/reposita/app.properties debug = true logSql = true
> >
> > cron.sthg.function = doSomething
> >
> > Hmm. No effect.
> >
> > bye
> > -stephan
> >
> > On 3/9/07, robert.gaggl at orf.at <robert.gaggl at orf.at> wrote:
> > > hi stephan,
> > >
> > > you need to put the line defining the cron job into
> > app.properties, not apps.properties.
> > >
> > > robert
> > >
> > >
> > > -----Original Message-----
> > > From: helma-user-bounces at helma.org on behalf of Stephan Schmidt
> > > Sent: Fri 3/9/2007 8:05 AM
> > > To: Helma User Mailing List
> > > Subject: [Helma-user] Cron not working
> > >
> > > Hello,
> > >
> > > I've tried the cron example from michis documentation (and from the
> > > Helma rfc wiki).
> > >
> > > # apps.properties
> > > cron.sthg.function = doSomething
> > >
> > > # apps/reposita/Global/functions.js
> > >
> > > function doSomething() {
> > >    app.log("doSomething now actually does something!!!");
> > >    return;
> > > }
> > >
> > > Should be called every minute, but nothing happens, any ideas?
> > >
> > > thx
> > > -stephan
> > > _______________________________________________
> > > Helma-user mailing list
> > > Helma-user at helma.org
> > > http://helma.org/mailman/listinfo/helma-user
> > >
> > >
> > > _______________________________________________
> > > 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
> >
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user
>


More information about the Helma-user mailing list