Scheduling jobs from a plugin

您好,如果在 after_initialize 中调用 deferred_topic_creation.rb 文件,它工作正常。但在我的情况下,我想在收到来自 admin/test/ 端点的 ajax 请求时启动。