1b.app
Link copied -

Why is cron not running on time?

According to the last launch, the crowns work according to principles that are not very clear, it turns out that once a minute, once an hour - they do not work out correctly, why is it so? and how to fix it?
Original question is available on version: ru

Answers:

Good afternoon.
What exactly is not clear to you?
Why did you decide and where can you see, on the screen that you attached, that the crowns do not work out correctly?
Minute and imap - run once a minute, but the next one will start working only
when the one that started earlier finishes working;
Hourly - runs once an hour and the logic of work is the same;
Daily - once a day;
The rest work according to a different logic, there are those that are launched and are constantly in memory.
Requests for external services via the https protocol do not leave your server
as an example:
curl -I https://i.ua/
curl: (7) Failed to connect to i.ua port 443: Connection timed out
so in automation once a minute (minute cron) you have actions,
who try to connect to the external IP 212.58.160.134 on the https port do not receive a response...
here is an example of a cron that was in memory at the time of the check
testcrm+ 1737337 1.5 0.5 882032 368196 ? S 15:20 1:04 /usr/bin/php -d memory_limit=512M -f cron/cron-minute.php
And here is the process trying to create a connection
php 1737337 testcrmohholdin 6u IPv4 942482291 0t0 TCP test-crm.ohholding.com.ua:43980->212.58.160.134:https (SYN_SENT)
And this cron just waits until the timeout expires, so the cron runs for a long time.
Contact your specialists who are responsible for setting up the server and network infrastructure,
to fix this problem.
16.01.2021, 17:00
Original comment available on version: ru

Thank you, can you tell me what actions they are trying to access https://i.ua/ and test-crm.ohholding.com.ua revised the actions once a minute, did not find anything similar
16.01.2021, 17:15
Original comment available on version: ru

Nothing connects to i.ua, it was just an example to show what is happening with external services from your server
no https connection.
For the same reason, I can't log in to your system. there is no local account in your system,
but the system cannot check my data.
That's why I advised you to find out the routing issue from specialists who answer
for your network infrastructure.
16.01.2021, 21:50
Original comment available on version: ru

Got it, thanks for the advice.
17.01.2021, 20:33
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