jruby war file: How to run rake task present in .war file

251 Views Asked by At

I am creating war file out of my jruby rails application and deploying on my server. my server contains has only ruby 1.9.3 and glassfish server.

I want to run nightly job in a background using rake task but since my server has only ruby and no rails i didn't find any way to execute rake task on my server.

Please help

0

There are 0 best solutions below