Enter a default interval when adding an operation and interval is not assigned
Fix return value and stderr output on errors in resource enable/disable