. */ declare(strict_types=1); namespace FireflyIII\Http\Controllers\System; use Illuminate\Contracts\Foundation\Application; use Illuminate\Contracts\Routing\ResponseFactory; use Illuminate\Http\Response; use Illuminate\Support\Facades\Log; /** * Class CronController */ class CronController { /** * @return Application|ResponseFactory|Response */ public function cron() { Log::error('The cron endpoint has moved to GET /api/v1/cron/[token]'); return response('The cron endpoint has moved to GET /api/v1/cron/[token]', 500); } }