Admin API - Create Scheduler bug

(from github.com/defensivedepth)
I have been working with 11.4.6 & 12.0 with these docs:
http://fess.codelibs.org/11.4/lastadoc-fess.html#.api.admin.scheduler.setting::put_d_setting

I am able to create a web crawler as well as a scheduler - however, the scheduled job gets created with Crawler Job & Status disabled, and I cannot start the crawler through the Admin API with it disabled. No matter how I try and create the scheduler job, it never enables it.

Here is what I am sending to create the job:

{"name":"Scheduler-Test","target":"all","script_type":"groovy","script_data":"return container.getComponent(\"crawlJob\").logLevel(\"info\").sessionId(\"KGbJzGABNFb2ZLGNJe-H\").webConfigIds([\"KGbJzGABNFb2ZLGNJe-H\"] as String[]).fileConfigIds([] as String[]).dataConfigIds([] as String[]).jobExecutor(executor).execute();","crawler":"true","job_logging":"true","available":"true","sort_order":0}

This results in the following scheduler job being created:

Is this a known issue?

Thanks

(from github.com/marevol)
Replace with “on” as below:

..."crawler":"on","job_logging":"on","available":"on"...

Boolean will be supported in a next release.

(from github.com/defensivedepth)
Perfect, that works, thanks. I tried “enable” as well… Didn’t think to try “on” .

Thanks again