开发者

Javan Whenever Gem is sending me the output as local mail

Javan's Whenever gem for Ruby on Rails is fantastic, however, I'm having one issue with it, namely that it sends whatever 开发者_如何学运维output I've logged to /var/mail/user, which I don't want to receive. Does anyone know how to turn this off?

Thanks,

Harris


Whenever allows also to direct standard output and errors differently, for example to /dev/null if you don't want any mail or logging. For details, see: https://github.com/javan/whenever/wiki/Output-redirection-aka-logging-your-cron-jobs


Set

env :MAILTO, ""

http://groups.google.com/group/whenever-gem/browse_thread/thread/4eed7957127a72d4

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜