Yes there is one way to achieve that, Create a custom command which calls the action you want to perform and then schedule that command using cron jobs.
Take a look at this article they have done it with a simple example. https://www.cloudways.com/blog/laravel-cron-job-scheduling/
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community