Re: Cron not working
"Hannes Wallnoefer" <[email protected]>
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
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, [email protected] <[email protected]>: > 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: [email protected] > > [mailto:[email protected]] 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, [email protected] <[email protected]> wrote: > > > hi stephan, > > > > > > you need to put the line defining the cron job into > > app.properties, not apps.properties. > > > > > > robert > > > > > > > > > -----Original Message----- > > > From: [email protected] 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 > > > [email protected] > > > http://helma.org/mailman/listinfo/helma-user > > > > > > > > > _______________________________________________ > > > 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 > > > _______________________________________________ > Helma-user mailing list > [email protected] > http://helma.org/mailman/listinfo/helma-user >