A
A
andizura2021-09-07 12:43:24
PHP
andizura, 2021-09-07 12:43:24

How to limit server resources to execute php running in cron?

Hello! Such a problem, when running the import script using the link below

https://toptrend.by/index.php?route=extension/feed/odmpro_update_csv_link&token=import_dompodarkov

the running script pulls all allocated hosting resources. Link added to cron every 4 hours. At this moment (up to 1, 2 minutes), the site takes a very long time to load.
Is it possible to somehow limit the execution of the script to 50% of the resources, let it run longer, but the site will load in normal mode. You can't edit php itself.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2021-09-07
@andizura

Groups

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question