Console API to do large operations

Hello!

Current API version executes via web server an have several limitations, such as execution time.

We have about 1,5 million links in database and clear by cron via web API does not working.

Does YOURLS have the way to do long operations?