M
M
Morfeey2018-12-13 12:12:07
PHP
Morfeey, 2018-12-13 12:12:07

Is it possible to run cron tasks as a separate process?

There is a task that should run at a certain time and it runs for a very long time. If we start the task with Ajax, as I understand it, a separate process is launched on the server, in which it feels completely fine. Is it possible to do something similar on the crown?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey, 2016-02-01
@studententer

with content-type: application/json $_POST is always empty
will help you.

A
Alexander Aksentiev, 2018-12-13
@Morfeey

let the cron run the job and complete its work on this.
And the job will get into the queue and will hang at least until the second coming, although it’s better to break it into small ones then.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question