ar- / incron

cron-like daemon which handles filesystem events
Other
229 stars 51 forks source link

Print stdout and stderr of commands incron runs #54

Open doronbehar opened 5 years ago

doronbehar commented 5 years ago

Would it be possible to make incron print the stdout and stderr of a command together with it's stdout and stderr as well? This could be very helpful when debugging scripts called by incrond.

Additionally, I've noticed that if a script given in an incron table is not executable, incrond doesn't even yield out any indication of it what so ever. Today I've spent 3 hours trying to figure out why my script doesn't work before I realized it wasn't even executable.

I hope this will be easily implementable, Thanks for creating this awesome software.