Versions des environnements
Network:
Windows 2000 Server
Hi Christof,
>I'd use a job table for that. The main program inserts a new record. The servers wait for new record and attempt to lock it. Once a record is locked, the application sends the query, stores the result into another memo field, set a lDone flag in the record and unlocks it. The main application could then scan for records with the lDone flag set to process the results. If a server hangs, the main program can kill it. This automatically releases the lock and the next available server would find the record automatically.
Neat description of my program - right down to the name of "lDone". Only thing you missed was my "tlastupdat" <bg>.
regards
thomas
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement