New Branches at the Bazaar

Johan Kiviniemi netsplit.com-upstart-devel at johan.kiviniemi.name
Thu Feb 15 16:15:13 GMT 2007


On Thu, Feb 15, 2007 at 02:32:28PM +0000, Scott James Remnant wrote:
> Johan Kiviniemi's been working on the problem of reacting to the
> wildly differing inotify events caused by a text editor being used on
> /etc/event.d -- everything from in-place modification, copying to a
> backup and moving and deleting takes place.

I might add that i hope the very same functionality to be helpful in
another use case as well:

In the future, it might be nice to be able to trigger cron-like jobs not
only periodically, but also from inotify events.

There we have the same problem: say i upload a big file remotely to a
directory that is being watched by upstart. I surely wouldn't want the
job to be triggered before the upload is complete, would i?

I might want to define a long delay for some watches, e.g. perhaps up to
a minute for the pool directory of a personal apt repository. That way i
would have no hurry copying multiple files to the directory manually,
before e.g. the Falcon repository builder kicks in.

-- 
Jοhan Kiviniemi  http://johan.kiviniemi.name/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20070215/3e5b1808/attachment.pgp 


More information about the upstart-devel mailing list