# ManagesFrequencies

trait
**ManagesFrequencies** (View source)

## Methods

The Cron expression representing the event's frequency.

Schedule the event to run between start and end time.

Schedule the event to not run between start and end time.

Schedule the event to run every minute.

Schedule the event to run every two minutes.

Schedule the event to run every three minutes.

Schedule the event to run every four minutes.

Schedule the event to run every five minutes.

Schedule the event to run every ten minutes.

Schedule the event to run every fifteen minutes.

Schedule the event to run every thirty minutes.

Schedule the event to run hourly.

Schedule the event to run hourly at a given offset in the hour.

Schedule the event to run every two hours.

Schedule the event to run every three hours.

Schedule the event to run every four hours.

Schedule the event to run every six hours.

Schedule the event to run daily.

Schedule the command at a given time.

Schedule the event to run daily at a given time (10:00, 19:30, etc).

Schedule the event to run twice daily.

Schedule the event to run twice daily at a given offset.

Schedule the event to run only on weekdays.

Schedule the event to run only on weekends.

Schedule the event to run only on Mondays.

Schedule the event to run only on Tuesdays.

Schedule the event to run only on Wednesdays.

Schedule the event to run only on Thursdays.

Schedule the event to run only on Fridays.

Schedule the event to run only on Saturdays.

Schedule the event to run only on Sundays.

Schedule the event to run weekly.

Schedule the event to run weekly on a given day and time.

Schedule the event to run monthly.

Schedule the event to run monthly on a given day and time.

Schedule the event to run twice monthly at a given time.

Schedule the event to run on the last day of the month.

Schedule the event to run quarterly.

Schedule the event to run yearly.

Schedule the event to run yearly on a given month, day, and time.

Set the days of the week the command should run on.

Splice the given value into the given position of the expression.

## Details

###
```
$this
```**cron**(string $expression)

**cron**(string $expression)

The Cron expression representing the event's frequency.

###
```
$this
```**between**(string $startTime, string $endTime)

**between**(string $startTime, string $endTime)

Schedule the event to run between start and end time.

###
```
$this
```**unlessBetween**(string $startTime, string $endTime)

**unlessBetween**(string $startTime, string $endTime)

Schedule the event to not run between start and end time.

###
```
$this
```**everyMinute**()

**everyMinute**()

Schedule the event to run every minute.

###
```
$this
```**everyTwoMinutes**()

**everyTwoMinutes**()

Schedule the event to run every two minutes.

###
```
$this
```**everyThreeMinutes**()

**everyThreeMinutes**()

Schedule the event to run every three minutes.

###
```
$this
```**everyFourMinutes**()

**everyFourMinutes**()

Schedule the event to run every four minutes.

###
```
$this
```**everyFiveMinutes**()

**everyFiveMinutes**()

Schedule the event to run every five minutes.

###
```
$this
```**everyTenMinutes**()

**everyTenMinutes**()

Schedule the event to run every ten minutes.

###
```
$this
```**everyFifteenMinutes**()

**everyFifteenMinutes**()

Schedule the event to run every fifteen minutes.

###
```
$this
```**everyThirtyMinutes**()

**everyThirtyMinutes**()

Schedule the event to run every thirty minutes.

###
```
$this
```**hourly**()

**hourly**()

Schedule the event to run hourly.

###
```
$this
```**hourlyAt**(array|int $offset)

**hourlyAt**(array|int $offset)

Schedule the event to run hourly at a given offset in the hour.

###
```
$this
```**everyTwoHours**()

**everyTwoHours**()

Schedule the event to run every two hours.

###
```
$this
```**everyThreeHours**()

**everyThreeHours**()

Schedule the event to run every three hours.

###
```
$this
```**everyFourHours**()

**everyFourHours**()

Schedule the event to run every four hours.

###
```
$this
```**everySixHours**()

**everySixHours**()

Schedule the event to run every six hours.

###
```
$this
```**daily**()

**daily**()

Schedule the event to run daily.

###
```
$this
```**at**(string $time)

**at**(string $time)

Schedule the command at a given time.

###
```
$this
```**dailyAt**(string $time)

**dailyAt**(string $time)

Schedule the event to run daily at a given time (10:00, 19:30, etc).

###
```
$this
```**twiceDaily**(int $first = 1, int $second = 13)

**twiceDaily**(int $first = 1, int $second = 13)

Schedule the event to run twice daily.

###
```
$this
```**twiceDailyAt**(int $first = 1, int $second = 13, int $offset = 0)

**twiceDailyAt**(int $first = 1, int $second = 13, int $offset = 0)

Schedule the event to run twice daily at a given offset.

###
```
$this
```**weekdays**()

**weekdays**()

Schedule the event to run only on weekdays.

###
```
$this
```**weekends**()

**weekends**()

Schedule the event to run only on weekends.

###
```
$this
```**mondays**()

**mondays**()

Schedule the event to run only on Mondays.

###
```
$this
```**tuesdays**()

**tuesdays**()

Schedule the event to run only on Tuesdays.

###
```
$this
```**wednesdays**()

**wednesdays**()

Schedule the event to run only on Wednesdays.

###
```
$this
```**thursdays**()

**thursdays**()

Schedule the event to run only on Thursdays.

###
```
$this
```**fridays**()

**fridays**()

Schedule the event to run only on Fridays.

###
```
$this
```**saturdays**()

**saturdays**()

Schedule the event to run only on Saturdays.

###
```
$this
```**sundays**()

**sundays**()

Schedule the event to run only on Sundays.

###
```
$this
```**weekly**()

**weekly**()

Schedule the event to run weekly.

###
```
$this
```**weeklyOn**(array|mixed $dayOfWeek, string $time = '0:0')

**weeklyOn**(array|mixed $dayOfWeek, string $time = '0:0')

Schedule the event to run weekly on a given day and time.

###
```
$this
```**monthly**()

**monthly**()

Schedule the event to run monthly.

###
```
$this
```**monthlyOn**(int $dayOfMonth = 1, string $time = '0:0')

**monthlyOn**(int $dayOfMonth = 1, string $time = '0:0')

Schedule the event to run monthly on a given day and time.

###
```
$this
```**twiceMonthly**(int $first = 1, int $second = 16, string $time = '0:0')

**twiceMonthly**(int $first = 1, int $second = 16, string $time = '0:0')

Schedule the event to run twice monthly at a given time.

###
```
$this
```**lastDayOfMonth**(string $time = '0:0')

**lastDayOfMonth**(string $time = '0:0')

Schedule the event to run on the last day of the month.

###
```
$this
```**quarterly**()

**quarterly**()

Schedule the event to run quarterly.

###
```
$this
```**yearly**()

**yearly**()

Schedule the event to run yearly.

###
```
$this
```**yearlyOn**(int $month = 1, int|string $dayOfMonth = 1, string $time = '0:0')

**yearlyOn**(int $month = 1, int|string $dayOfMonth = 1, string $time = '0:0')

Schedule the event to run yearly on a given month, day, and time.

###
```
$this
```**days**(array|mixed $days)

**days**(array|mixed $days)

Set the days of the week the command should run on.

###
```
$this
```**timezone**(DateTimeZone|string $timezone)

**timezone**(DateTimeZone|string $timezone)

Set the timezone the date should be evaluated on.

###
```
protected $this
```**spliceIntoPosition**(int $position, string $value)

**spliceIntoPosition**(int $position, string $value)

Splice the given value into the given position of the expression.