Contact Us
- Post a Question (public)
- Submit a Ticket (private)
- IRC-freenode: #pagodabox
- @pagodasupport
Hi,
Is it possible to trigger the background workers from my PHP code? Can i use PHP command "exec" directly from my PHP code?
Thanks for answers
No it isn’t. Worker exec commands should start the worker and create an endless loop. The worker can check some kind of queue (db, redis) for tasks and run those taks when they come in. But the worker process can’t be started from your php.