Answer the question
In order to leave comments, you need to log in
What are the reasons for the agent to be active (but not running)?
Please tell me what are the reasons that the agent is active, but not running (does not write to the log), then after a while it deactivates itself.
that is, it works, it works, then once it is deactivated ... (agent on the crown)
Look, I put down an entry in the logs:
I see the following
public static function Start(){
AddMessage2Log("18", "module");
try {
AddMessage2Log( date("d.m.Y H:i:s")."BEfore new MsService()", "module");
$myImport = new MsSer();
AddMessage2Log( date("d.m.Y H:i:s")."new MsSer()", "module");
$myImport->__destruct();
AddMessage2Log("__destruct()", "module");
}
catch (SystemException $exception)
{
AddMessage2Log( date("d.m.Y H:i:s")."BEfore SystemException", "module");
AddMessage2Log("SystemException", "module");
}
AddMessage2Log(date("d.m.Y H:i:s")."before return", "module");
return 'MsAgent::Start();';
}
Date: 2020-07-25 07:25:00
Module: module
18
Date: 2020-07-25 07:35:02
Module: module
18
Date: 2020-07-25 07:45:01
Module: module
18
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question