Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

nice, but is it possible to use it somewhere else than Rails, like say, Merb or Sinatra?


Not without a little hacking. After a little digging, it looks like it has an implicit Rails dependency (http://github.com/javan/whenever/blob/f036675e94cd9dd9b21d2c...)


It will work FINE without Rails. The code you're pointing to simply finds the Rails root if it exists as a convenience. If one doesn't, you have to manually tell Whenever your path: set :path, "/path/to/my/app"


I wrote something very similar to this a little while ago that's framework agnostic, http://www.github.com/jcapote/theman


cool, i didnt know about http://rufus.rubyforge.org/rufus-scheduler/ , that you're using in this project.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: