executorlib.terminate_tasks_in_cache

executorlib.terminate_tasks_in_cache#

executorlib.terminate_tasks_in_cache(cache_directory: str, pysqa_config_directory: str | None = None, backend: str | None = None)[source]#

Delete all jobs stored in the cache directory from the queuing system

Parameters:
  • cache_directory (str) – The directory to store cache files.

  • pysqa_config_directory (str, optional) – path to the pysqa config directory.

  • backend (str, optional) – name of the backend used to spawn tasks [“slurm”, “flux”].