I am using civix to create a scheduled task with
civix generate:api --schedule Daily chiroContact assignAnimatorCourseResponsibleLabel
The files get created correctly, and the new api possibility is shown in the api explorer, however when I try and test it the result is
{
"error_code": "not-found",
"entity": "ChiroContact",
"action": "assignanimatorcourseresponsiblelabel",
"is_error": 1,
"error_message": "API (ChiroContact, assignanimatorcourseresponsiblelabel) does not exist (join the API team and implement it!)"
}
The sheduled task also doesn appear in the list of sheduled tasks in the system settings. Am I doing something wrong in creating this task?