I am using whenever gem to schedule cron job every 15 minutes in my rails 3.2 application and capistrano gem to deploy it on amazon EC2 instance.
The issue is:
Whenever I deploy with cap deploy
, the cron job works fine(every 15minutes).
But it stops after some variable hours. The next day, when I see cron log, the cron job had already stopped running.
I deploy the code again and the cron job starts working again and stops after some hours.
Please help.