Rufus cron does not work in Apache / Passenger

I have a Rails application running on Apache / Passenger. It runs the rphus-scheduler cron job, which runs in the background and sends email notifications.

When I run the application in development on the WEBrick server, emails are sent as they should be sent.

When I run the application in production on Apache / Passenger, emails are not sent. In production logs, it does not show any logs for rufus-scheduler.

I am stuck in this problem. Your help will be appreciated, thanks in advance.

+3
source share
1 answer

- PassengerSpawnMethod direct. Phusion Passenger , : http://www.modrails.com/documentation/Users%20guide%20Apache.html#spawning_methods_explained , "15.4. gotcha # 2: ".

+3

All Articles