Level 88
You need to run a cronjob to do that. Check this bit out in the documentation: https://laravel.com/docs/5.2/scheduling
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
I have items in my database record with expiration date, how can i automate it to delete the record that matched the current date to its expiration?
thanks
Please or to participate in this conversation.