[Catalyst] streaming output to view in real time

Simon Wilcox simonw at digitalcraftsmen.net
Wed Apr 11 17:28:21 GMT 2007


On Wed, 11 Apr 2007, Jimmy Cooksey wrote:

> It only looks for entries with id > $last_id.

You'll want some sort of process id in there too, in case someone else
kicks off the same long running process. Then you end up with two outputs
intermingled in the database which would be impossible to separate.

Could be as simple as the pid but it might be better, with less risk of
clashing pids, to use a UUID of some sort.

Simon Wilcox

-- 
Digital Craftsmen Ltd
Exmouth House, 3 Pine Street, London. EC1R 0JH
t 020 7183 1410 f 020 7099 5140 m 07951 758698
w http://www.digitalcraftsmen.net/



More information about the Catalyst mailing list