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
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