Purging the Job Database (JOB CONTROL IS DEPRECATED)

If the job database is not purged, job records can accumulate and the job database directory can become quite large over time. The jobcontrol utility can be used to purge the job database of records for completed jobs. For example, the following command purges the entire database:

$SCHRODINGER/jobcontrol -delete all

This command only affects completed jobs: running jobs cannot be deleted unless -force is supplied after -delete. However, you should be careful not to delete completed jobs whose output you still intend to incorporate into a Maestro project.

The job database is periodically checked for jobs that have finished by a process called jnanny (see Performing Actions on Jobs with jnanny (JOB CONTROL IS DEPRECATED)). If the job is older than a threshold time, its record is deleted from the database. You can set this threshold time with jnanny or with the environment variable SCHRODINGER_JOBDB_CLEANUP. The default time is 1 week; the minimum allowed time is 1 second, but a realistic minimum is 10 minutes. The default unit is seconds, but you can specify a time in minutes, hours, or days by appending m, h, or d to the value, for example, 7d, 168h, or 5m.