pyiron_base.database.jobtable.set_job_status

Contents

pyiron_base.database.jobtable.set_job_status#

pyiron_base.database.jobtable.set_job_status(database: FileTable | DatabaseAccess, sql_query: str, user: str, project_path: str, job_specifier: str | int, status: str) None[source]#

Set the status of a particular job

Parameters:
  • database (DatabaseAccess/ FileTable) – Database object

  • sql_query (str) – SQL query to enter a more specific request

  • user (str) – username of the user whoes user space should be searched

  • project_path (str) – root_path - this is in contrast to the project_path in GenericPath

  • job_specifier (str) – name of the job or job ID

  • status (str) – job status can be one of the following [‘initialized’, ‘appended’, ‘created’, ‘submitted’, ‘running’, ‘aborted’, ‘collect’, ‘suspended’, ‘refresh’, ‘busy’, ‘finished’]