To update the nextruntime i use this sql code:
begin; update mdl_task_adhoc set nextruntime = unix_timestamp()+60; commit;
begin; update mdl_task_adhoc set nextruntime = unix_timestamp()+60; commit;