Q: incrond - where does SDTOUT and STDERR go?

348 Views Asked by At

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?

1

There are 1 best solutions below

1
On

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.