Tasks
Your app may need to execute tasks in the future on intervals or over a long time.
If you haven’t already, add the tasks
directory to your config
The snippet below defines a task that runs every minute. Keep in mind that the file name is just a unique identifier and you can name it however you want.
The trigger
is a cron tab pattern, you can edit and test one here.