Disable Elysia Cron task programmatically I have a custom module where I create several cron tasks using HOOK_cronapi.
This is done when the user visits a page and has a form to create those tasks.

I also need that the user can disable those tasks but I can't find anything in the elysia cron documentation on how to disable a cron job.

After it is created I can't disable it programmatically? (I can do it via GUI)

Thanks.
I realize this is pretty old but if you are only concerned with one task and not a whole channel... 

elysia_cron_set_job_disabled('mymodule_cron', true);


will disable a cron job. Not surprisingly,

elysia_cron_set_job_disabled('mymodule_cron', false);


enables it again.