Can Cakephp 3 be used to create screens to manipulate CRON like Sidekiq?

Asked

Viewed 53 times

0

Have some way to create screens to manipulate CRON PHP with Cakephp3 as we have the sidekiq option for Ruby on Rails?

It would be interesting to be able to list the active Jobs, and also the option to create new Jobs, it would also be interesting to have a Jobs execution log and also an option to restart cron/stop if necessary.

Does anyone know if this is possible, and if there are any examples of this?

1 answer

2


What you’re looking for is a Jobs background solution with web client.

Sidekiq has a built-in web client to handle failed tasks and even cancel a task before it runs.

For PHP there is the Bernard that can be configured in several ways, even with Googleappengine and for it there is a web client called Juno.

If you use Laravel has a built-in solution also of background Jobs (Queues). For this solution in Laravel exists the Horizon that only works with redis.

For Cakephp 3 as you mentioned the best solution I’ve ever seen is Queuesadilla of José Gonzalez which is the maintainer of the Cakephp core, but with no web client to handle tasks. In the case of Cakephp 3 I recommend using the Bernard I quoted above.

Already about scheduled tasks (Cron) is a separate thing. You could use the linux cron itself, or other solutions in other languages, but in PHP there are some:

I’ve used Workerphp and it works perfectly. I hope I’ve helped!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.