Reputation: 419
I created a task to monitor backups and placed the file at \src\main\ml-config\tasks\taskmonitor.json
I did a deploy (gradle mlDeploy
), but how can I verify if the task has been created successfully?
I searched for taskmonitor in modules DB but could not find the task. Also, in admin console, I browsed to Groups-->Default-->Scheduled Tasks, but could not find any task there.
Upvotes: 0
Views: 240
Reputation: 66783
mlDeploy
should have deployed the tasks in the /src/main/ml-config/tasks/
directory.
Have you tried running either mlDeploy
or even just the mlDeployTasks
task with the -i
switch? Adding -i
will give you more verbose output that could be helpful in diagnosing a problem (e.g. malformed JSON?).
Once deployed, Scheduled Tasks will be listed in the Admin UI where you were looking, under: Groups-->Default-->Scheduled Tasks
You can also obtain a list of the Scheduled Tasks via the Management API REST endpoint: e.g. http://localhost:8002/manage/LATEST/tasks?format=html
Upvotes: 1