I'm receiving market data by this function in a console app:
void MarketByPriceClient::onUpdateMsg(const UpdateMsg& updateMsg, const OmmConsumerEvent&)
But the console app were auto terminated at some specific time(01:00, 15:30,... not sure).
And show message:
Terminated You have new mail in /var/spool/mail/speedy
How to fix this?
Ensure you are using the latest version of the ESDK. I would then try to build and run the level 2 tutorial. With this, you should be able generally verify how to build a market by price or market by order consumer. Are you able to determine exactly where within your application it is crashing? You mentioned it was while receiving data but this could be somewhere deep within your application as part of your post processing.
Also, if your application did in fact crash, I would also try to determine why it did not generate a core file. What OS are you running on? Perhaps you don’t have write privileges in the directory where you are running? I would search around to understand why - for example.
With the information you provided, your application could have terminated for many reasons. Based on the output, did you notice if there was a 'core' file created within the directory where you execute the console application? Looking at the core file within a debugger would provide more details as to where specifically (function/method) within your application it terminated. I would start here first.