1b.app
Link copied -

The minute cron has been hanging for 30 minutes, how can I understand what the problem is?

Answers:

no way, there is no debug functionality for what this or that cron is doing now. He started in his own stream and you can't "spy" on him
21.09.2020, 13:06
Original comment available on version: ru

There are 2 actions on the minute crown, and then, the same
"Download orders from proma"
See if all orders are in the system? Perhaps a lot of orders and just a long time to load?
Cron will do its job (And update the time in the control panel) as soon as all orders are loaded into the system
21.09.2020, 13:48
Original comment available on version: ru

Yes, most orders were loaded into the system:
http://joxi.ru/l2ZyVbKIEblJjm http://joxi.ru/LmGz3JgcJxB34r
Everything is ok now
21.09.2020, 13:53
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry Employee wrote:
no way, there is no debug functionality for what this or that cron is doing now. He started in his own stream and you can't "spy" on him

On the server, there is a htop function that shows the load, can you make a revision that would show in the panel what cron is currently working with?
21.09.2020, 14:13
Original comment available on version: ru

cron is a single process, it is visible in htop as "cron". It does not write what specific actions it does, htop just shows you that it is running and how much memory it is eating.
21.09.2020, 22:33
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Bodyako Dmitry Employee wrote:
cron is a single process, it is visible in htop as "cron". It does not write what specific actions it does, htop just shows you that it is running and how much memory it is eating.

I understand correctly that you cannot figure out how to show the user what process the cron is currently working on (that is, if the cron did not work, then it is impossible to understand why it did not work)?
21.09.2020, 23:12
Original comment available on version: ru

Do I know how to do it - yes. Does the user need it? - No. Even knowing what the cron is working on, the user of the system cannot physically influence 90% of the functionality that the cron does. Accordingly, what you see what cron does does not give you anything, so it is useless.
22.09.2020, 10:37
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment