ar- / incron

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

[Debian Bug #418852] it should be able to specify users to run sytem table entries as #12

Open k0lter opened 9 years ago

k0lter commented 9 years ago

This bug report is a copy of https://bugs.debian.org/418852

[Patrick Schoenfeld]

The current system table is not able to have a username in it, as which the specified command should run. I even think this is a must, as incron "borrows" its name from cron, which is able to do so. Also it is a must in my opinion as the systemwide directory could (and should) be used with packages, that like to install incron entries in the future.

ar- commented 9 years ago

It is currently possible, to add a different incrontab for each user. Just as it is in cron. I am not aware of the syntax, how this can be done in the system-wide incrontab. Does anyone know a syntax example how this would look like in cron?

ar- commented 9 years ago

found it. 6th parameter in crontab

m h dom mon dow user command

17 * * * * root cd / && run-parts --report /etc/cron.hourly