Crons and Commands
Crons and Commands
درباره این درس
How do we tackle "chores" in our applications? You know, those operations that need to occur at regular intervals. The answer is to make use of cron jobs.
In this lesson, we'll once again work with the Laracasts source code. We'll create a custom Artisan command to manage the process of clearing out user events from the database that are at least one month old. Finally, we'll create a cron job to call this custom command every month.
دیدگاه های کاربران