Unnikked.ga: How To Schedule User Generated Cron Jobs In Laravel
On the Unnikked.ga site there's a tutorial posted by Nicola Malizia showing you how to schedule user-generated cron jobs in Laravel using the built-in job handling functionality.
While developing a personal project I was in the need to let user defines actions that run periodically.My first thought was to use the Task Scheduling component of Laravel. The solution that I came up with is quite simple, yet effective.
He then walks through the process of setting up a "tasks" table where users can define their jobs and how to pull and execute them as a part of the Kernel.php
configuration. He ends the post asking readers if there's another way they might go about this and still allow users to define their own jobs without having to write the code for each type.