views:

254

answers:

4

I'm aware of timing issues in Javascript, how its not exact/off by milliseconds etc, but I need something to at least attempt to do browser-based scheduling.

In terms of features, I'm thinking something along the lines of scheduling patterns described here: http://www.sauronsoftware.it/projects/cron4j/manual.php#p02

Anything out there? I've done google searches and haven't found any implementation worth nothing.

A: 

As long as js engines live inside a browser, I don t think there's much drive for such a feature. Now.. if one made a server js engine...

Eddy
IIRC Adobe Media Server allows you to write server logic in Actionscript2 which is fairly close to Javascript. It's painful.
spender
Many, many people have: http://en.wikipedia.org/wiki/Server-side_JavaScript.Myna (http://www.mynajs.org) even has a graphical tool for running scripts every X milliseconds
Mark Porter
+3  A: 

I thought I'd give it a quick go -- obviously this isn't production-code-worthy yet. Have a look: http://github.com/jamespadolsey/cron.js

J-P
Whoa, that's great! I'm definitely gonna check it out!
A: 

Anything out there? I've done google searches and haven't found any implementation worth nothing

Nihrenase
A: 

Take a look at scheduler.codeeffects.com. I don't know how it works but it has a js-based interface, so may be their scheduling engine is js-based, too. Just trying to help :)

Regina