# Why is my grace time resetting to 5 minutes?

If you're using the [spatie/laravel-schedule-monitor](https://github.com/spatie/laravel-schedule-monitor) package to sync your Laravel schedule to Oh Dear, the grace time you set in the Oh Dear dashboard gets overwritten every time the package syncs. That's by design: the package treats your Laravel schedule definition as the single source of truth.

To change the grace time permanently, set it in your schedule definition using `graceTimeInMinutes()`:

```php
// routes/console.php (Laravel 11+)

use Illuminate\Support\Facades\Schedule;

Schedule::command('your-command')
    ->daily()
    ->graceTimeInMinutes(10);
```

```php
// app/Console/Kernel.php (Laravel 10 and earlier)

protected function schedule(Schedule $schedule): void
{
    $schedule->command('your-command')
        ->daily()
        ->graceTimeInMinutes(10);
}
```

Next time `schedule-monitor:sync` runs, the 10-minute grace time will be pushed to Oh Dear and stick.

If you're not using the schedule monitor package, any value you set in the Oh Dear dashboard stays put.
