New cronjob code.

This commit is contained in:
James Cole
2018-08-12 14:26:11 +02:00
parent dd95776144
commit cb2c52cddb
9 changed files with 344 additions and 2 deletions

View File

@@ -33,6 +33,12 @@ Route::group(
}
);
Route::group(
['middleware' => 'binders-only','namespace' => 'FireflyIII\Http\Controllers\System', 'as' => 'cron.', 'prefix' => 'cron'], function () {
Route::get('run/{cliToken}', ['uses' => 'CronController@cron', 'as' => 'cron']);
}
);
/**
* These routes only work when the user is NOT logged in.
*/