On Sat, Jan 17, 2009 at 08:06:08PM +0100, randulo wrote: > On Sat, Jan 17, 2009 at 7:52 PM, didier.cuffaut <[email protected]> > wrote: > > May i have some comment/opinion on these two ways below to place a call file > > in the future ? (from the wiki and the asterisk book but added typos and > > stupidity come from me) > > > > The best is ? (and should work ?) > > This is just me, but if I were going to program calls in the future I > would just name them with the time (2009-01-17-20-08.call for four > minutes from now, for example) and put them in a directory. The I'd > have a cron job running that looked once per minute in that dir and > did the mv if found file with that name. > > Does that make sense?
Run a program when something in the filesystem changes? Looks like inotify can help you there. E.g. http://packages.debian.org/sid/incron -- Tzafrir Cohen icq#16849755 jabber:[email protected] +972-50-7952406 mailto:[email protected] http://www.xorcom.com iax:[email protected]/tzafrir _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
