Closed pulkitjalan closed 9 years ago
Yes
public function schedule(Schedulable $scheduler)
{
if (App::environment('production')) {
# return schedule 1
} else {
# return schedule 2
}
}
of course, thanks :+1:
Is there any way to schedule the same command to run at different time based on the environment?