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 rake incoming_mail
How would I go about daemonising that?
In linux in order to run a process in background, you can add & to the end of command. So
rake incoming_mail &
should probably do the jobs for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With