Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

fyaren's avatar

fyaren liked a comment+100 XP

4w ago

How to use crontab in Herd?

You can run php artisan schedule:work. This is a long running task and will process the schedule every minute.

Its designed to give the same effect as cron job in a local environment.

fyaren's avatar

fyaren liked a comment+100 XP

4mos ago

Queue observer

Old topic but maybe useful for someone : you can simply queue a whole observer

class MyObserver implements ShouldQueue {
    ....
}

(tested in Laravel 10)