Translations:Manual:Writing maintenance scripts/30/en

Be aware that classes defined by your extension will not be available until hitting the execute-function.