0

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

Sanjay Salunkhe
  • 2,665
  • 5
  • 28
  • 52
  • Please look into https://stackoverflow.com/questions/9839319/running-rake-task-from-within-war-file it solve your problem – Akash Jul 29 '17 at 16:29
  • Thanks.. i will look into it.. just a small question here .. do i need to create jar file for this ?? – Sanjay Salunkhe Jul 29 '17 at 16:38
  • Possible duplicate of [Running rake task from within war file](https://stackoverflow.com/questions/9839319/running-rake-task-from-within-war-file) – Ruslan Aug 02 '17 at 18:17

0 Answers0