I
I
ILoveYAnny2018-02-26 14:10:53
Message Queues
ILoveYAnny, 2018-02-26 14:10:53

How to queue PHP scripts on Shared Hosting?

Hello, I need to organize a task queue, however, on a shared hosting project. I Googled queue servers, but for obvious reasons you can't put them on Shared. On the vskidka solution in the forehead, adding a Kron-task and after execution, deleting it. I just don’t know if this approach is correct, it smells like crutches ... Does anyone have any thoughts on this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2018-02-26
@ILoveYAnny

cron will do as well * * * * *
The main thing is not to forget the protection against running the same thing at the same time.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question