We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a5d1da commit 02592b0Copy full SHA for 02592b0
app/Console/Kernel.php
@@ -24,11 +24,7 @@ protected function schedule(Schedule $schedule)
24
$schedule->command('schedule-monitor:clean')->daily();
25
$schedule->command('horizon:snapshot')->everyFiveMinutes();
26
$schedule->command('post-article-to-twitter')
27
- ->everyMinute()
28
- ->when(function () {
29
- // ~2 posts every 24 hours.
30
- return random_int(1, 1440) <= 2;
31
- });
+ ->twiceDaily(14, 18);
32
}
33
34
/**
0 commit comments