public boolean removeTimer ( VacuumTimer timer ) throws CommandExecutionException { if ( timer == null ) throw new CommandExecutionException ( CommandExecutionException . Error . INVALID_PARAMETERS ) ; JSONArray payload = new JSONArray ( ) ; payload . put ( timer . getID ( ) ) ; return sendOk ( "del_timer" , payload ) ; }
Delete a scheduled cleanup .