Level 88
May 2, 2019
1
Level 2
Do I need cron to use schedulers on Homestead?
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('MyController@emailMe')
->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 or to participate in this conversation.