I’m using a runner script to try and send batch email update, however I
get the impression that the runner is not operating in production mode
and as a result it is falling foul of the system I have in place to
block emails goinc out in development in testing modes.
Is there some way for me to force a runner to operate in a particular
mode, or even to check the mode it is operating in?
My current use of the runner is as follows:
ruby script/runner DiscussionMailer.handle_weekly_post
Many thanks in advance.