B
B
BonBon Slick2017-09-20 01:53:34
PHP
BonBon Slick, 2017-09-20 01:53:34

How to set the execution time of a single script?

There is a script that parses API data from another site, the execution time will take a couple of days. However, it gives a 504 error time expired.
How to increase the execution time of this script only?
Since if you increase the time of all scripts, it will have a very bad effect on the server, load, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2017-09-20
@BonBonSlick

Use task queues, cron

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question