Javan 每当 Gem 将输出作为本地邮件发送给我时
Javan 的每当 gem for Ruby on Rails 非常棒,但是,我遇到了一个问题,即它将我记录的任何输出发送到 /var/mail/user strong>,我不想收到。有谁知道如何关闭此功能?
谢谢,
哈里斯
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
每当还允许以不同的方式定向标准输出和错误,例如,如果您不需要任何邮件或日志记录,则定向到 /dev/null 。有关详细信息,请参阅:https://github。 com/javan/whenever/wiki/Output-redirection-aka-logging-your-cron-jobs
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
放
http://groups.google.com/group/whenever-gem/browse_thread /线程/4eed7957127a72d4
Set
http://groups.google.com/group/whenever-gem/browse_thread/thread/4eed7957127a72d4