Coming from cron I do know that stdout/stderr is mailed to the user executing the script. But incron doesn't seem to have the same functionality. So where do stdout/stderr go to?
Q: incrond - where does SDTOUT and STDERR go?
368 views Asked by Ralf Hildebrandt At
1
It would be nice if it could mail it like cron, but it currently just ignores all output.
As you cannot include redirection(
>or>>) in the command specification the best way seems to be a small script that calls the desired command and redirects the output to a file or mailprogram.