In an extbase extension, I have an ImportCommandController class that imports data. (See In an extbase extension, how to access the persistence layer from a scheduler task?)
In ext_localconf.php
, it is hooked with
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'NAMESPACE\\Thekey\\Controller\\ImportCommandController';
On my server, cron jobs are a bit unreliable, they're often killed by a task killer. So I would give editors the possibility to start this Import manually when needed.
AFAIK, editors can't access the scheduler to start the task manually. So I guess I have to create a BE Module with a "do this" button, right? And how would that task be launched from there?