. */ declare(strict_types=1); namespace FireflyIII\Http\Controllers\System; use Illuminate\Contracts\Foundation\Application; use Illuminate\Contracts\Routing\ResponseFactory; use Illuminate\Http\Response; /** * Class CronController */ class CronController { /** * @return Application|Response|ResponseFactory */ public function cron() { app('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); } }