uccdev
5 months ago

Do I need cron to use schedulers on Homestead?

Posted 5 months ago by uccdev

Hi,

I'm running laravel through a virtual machine run by homestead at the moment. I've set schedule = true in my Homestead.yaml and I've edited my schedule() function to run a simple email every ten minutes:

                 protected function schedule(Schedule $schedule)
                 {
                         $schedule->call('[email protected]')
                         ->everyTenMinutes();
                 }

It doesn't seem to be enough, though, so I'm wondering if there's anything else I need to do? I haven't installed cron or called anything on the command line, I just have Homestead up and running.

P.S does it matter if I'm using windows if I want to install cron?

Please sign in or create an account to participate in this conversation.