I have a rake task which runs mailman under the rails environment.
I\'d like to ensure that rake task is always running via a daemon.
My rake task is r
r
If it's a docker image then surely it must be linux so,
rake incoming_mail &
should do the job by login into the pod and running rake task
Apart from this, put
Rails.logger.info in your code so the logs will be pushed to application log file OR
Rails.logger.info
GCloud Stackdriver or any logging framework.