fedi-feed-router/backend/routes/console.php

9 lines
226 B
PHP
Raw Permalink Normal View History

2025-06-29 08:50:03 +02:00
<?php
2025-06-30 19:54:43 +02:00
use App\Jobs\SyncChannelPostsJob;
2025-06-29 09:37:49 +02:00
use Illuminate\Support\Facades\Schedule;
2025-06-29 08:50:03 +02:00
2025-06-30 19:54:43 +02:00
Schedule::call(function () {
2025-07-05 18:26:04 +02:00
SyncChannelPostsJob::dispatchForAllActiveChannels();
2025-06-30 19:54:43 +02:00
})->everyTenMinutes()->name('sync-lemmy-channel-posts');