AGG Software Forums

Online Help Center => Data loggers and plug-ins => Topic started by: jamesant on October 21, 2014, 06:08:56 PM



Title: What might cause the Script Execute module to stop running ?
Post by: jamesant on October 21, 2014, 06:08:56 PM
We have got a server running where it

periodically receives packets of data and parses them,
then runs the script execute module to check the data is valid,
then writes an OK back if the data is alright,
or discards the packet if it was corrupt,
then if the packet was not discarded it writes the values into an SQL database.

But on some occasions the script execute module does not run, so the packet gets written to the SQL database without being checked by the script execute module. Then the same packet is received again (because no OK was sent last time) and the database gets lots of duplicate data.

Eventually (Maybe 5 or 10 minutes later) the script execute module starts running again, and all returns to normal.

What could be the cause of the script execute module not running - is it likely to be related to errors in the SQL write perhaps ?




Title: Re: What might cause the Script Execute module to stop running ?
Post by: Arthur Grasin on October 22, 2014, 06:32:42 AM
Hello,

I can't answer this question because I should review your whole configuration and see your data example.

I can only say that data are being sent to a database only after it was returned from the "Script execute" plugin.