mon = custom_action(rsc, key, name, node, is_optional,data_set);
mon = custom_action(rsc, key, name, node, is_optional, TRUE, data_set);
create_recurring_actions(resource_t *rsc, action_t *start, node_t *node,			 pe_working_set_t *data_set) {	char *key = NULL;	const char *name = NULL;	const char *value = NULL;	const char *node_uname = NULL;	int interval_ms = 0;	action_t *mon = NULL;	gboolean is_optional = TRUE;	GListPtr possible_matches = NULL;		crm_debug_2("Creating recurring actions for %s", rsc->id);	if(node != NULL) {		node_uname = node->details->uname;	}		xml_child_iter(		rsc->ops_xml, operation, "op",		name = crm_element_value(operation, "name");		value = crm_element_value(operation, "interval");		interval_ms = crm_get_msec(value);		if(interval_ms <= 0) {			continue;		}		value = crm_element_value(operation, "role");		if(start != NULL && value != NULL		   && text2role(value) != start->rsc->next_role) {			crm_debug_2("Skipping action %s::%s(%s) : %s",				    start->rsc->id, name, value,				    role2text(start->rsc->next_role));			continue;		}						key = generate_op_key(rsc->id, name, interval_ms);		possible_matches = find_actions(rsc->actions, key, node);		if(start != NULL) {			is_optional = start->optional;		} else {			is_optional = TRUE;		}		/* start a monitor for an already active resource */		if(possible_matches == NULL) {			is_optional = FALSE;		}				mon = custom_action(rsc, key, name, node, is_optional,data_set);				if(start == NULL || start->runnable == FALSE) {			crm_warn("   %s:\t(%s) (cancelled : start un-runnable)",				 mon->uuid, crm_str(node_uname));			mon->runnable = FALSE;		} else if(node == NULL			  || node->details->online == FALSE			  || node->details->unclean) {			crm_warn("   %s:\t(%s) (cancelled : no node available)",				 mon->uuid, crm_str(node_uname));			mon->runnable = FALSE;				} else if(mon->optional == FALSE) {			crm_info("   %s:\t(%s)", mon->uuid, crm_str(node_uname));		}		custom_action_order(rsc, start_key(rsc), NULL,				    NULL, crm_strdup(key), mon,				    pe_ordering_manditory, data_set);		);	}