Level 75
You can do it with cron or if you use Laravel check this docs https://laravel.com/docs/7.x/scheduling
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
For example, everyday at 2PM PST i want to run a code on the server where my app is running that execute automatically some piece of code, how can i do it in PHP? Is it possible?
Please or to participate in this conversation.