0
I have the following scenario:
1 application that runs on 10 machines, where when the application is running it is in on-line
and when it’s not, that machine is like off-line
, that communicates with a database SQL to inform your Status.
The problem is, if the power goes down?
I thought I’d stay and save txt
the status
every 10 seconds for example, and when turning on the PC query that information, but I do not know if it is the best way,
someone has some better idea?
Guy for this case there, if I understand your problem, the ideal is to use the client server approach. Where the applications that run on the 10 machines are server. So you will use a customer to check whether these machines are online or offline and the customer will update the status in the database.
– Andre
Gustavo, can you give us more information about how it’s working? Is this application located on each machine not on a server? When the program starts it asks to update the status to online (update in a table), and when it ends it makes a new request but now to offline is this?
– Caique Romero