code: def insert_entry(
      self,
      name: str,
      queries: list,
      start_time: datetime,
      end_time: datetime,
      repeat_interval: int,
      active: bool,
      next_schedule_run: datetime,
  ) -> JobCatalogEntry:
      try:
          job_catalog_obj = self.model(
              name=name,
              queries=json.dumps(queries),
              start_time=start_time,
              end_time=end_time,
              repeat_interval=repeat_interval,
              active=active,
              next_schedule_run=next_schedule_run,
          )
          job_catalog_obj = job_catalog_obj.save(self.session)
  
      except Exception as e:
          logger.exception(
              f"Failed to insert entry into job catalog with exception {str(e)}"
          )
          raise CatalogError(e)
  
      return job_catalog_obj.as_dataclass()
  
file_path: evadb/evadb/catalog/services/job_catalog_service.py
imports: import datetime
  import json
  from sqlalchemy import and_, true
  from sqlalchemy.orm import Session
  from sqlalchemy.sql.expression import select
  from evadb.catalog.models.job_catalog import JobCatalog
  from evadb.catalog.models.utils import JobCatalogEntry
  from evadb.catalog.services.base_service import BaseService
  from evadb.utils.errors import CatalogError
  from evadb.utils.logging_manager import logger
label_desc: Use image node_id 2 for calling the JobCatalogService obj's underlying member method code with example usage: obj.insert_entry(name, queries, start_time, end_time, repeat_interval, active, next_schedule_run) and returns: job_catalog_obj