Skip to content

Commit

Permalink
[5.5] Add an everyFifteenMinutes function to the ManagesFrequencies t…
Browse files Browse the repository at this point in the history
…rait t… (#21092)

* Add an everyFifteenMinutes function to the ManagesFrequencies trait to allow scheduling every 15 minutes.

* styleci fix

* styleci fix again.

* styleci
  • Loading branch information
mmccaff authored and taylorotwell committed Sep 8, 2017
1 parent e2b48c0 commit 37170a3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Illuminate/Console/Scheduling/ManagesFrequencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,16 @@ public function everyTenMinutes()
return $this->spliceIntoPosition(1, '*/10');
}

/**
* Schedule the event to run every fifteen minutes.
*
* @return $this
*/
public function everyFifteenMinutes()
{
return $this->spliceIntoPosition(1, '*/15');
}

/**
* Schedule the event to run every thirty minutes.
*
Expand Down

0 comments on commit 37170a3

Please sign in to comment.