Skip to content
Snippets Groups Projects

Refresh the status of jobs from SGE before listing them

Merged Amir MOHAMMADI requested to merge huge-fixes into master
2 files
+ 4
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
0
@@ -198,6 +198,9 @@ def run_scheduler(args):
def list(args):
"""Lists the jobs in the given database."""
jm = setup(args)
if not args.local:
# update the status of jobs from SGE before listing them.
jm.communicate(job_ids=get_ids(args.job_ids))
jm.list(job_ids=get_ids(args.job_ids), print_array_jobs=args.print_array_jobs, print_dependencies=args.print_dependencies, status=args.status, long=args.long, print_times=args.print_times, ids_only=args.ids_only, names=args.names)
Loading