count_regular_jobs: Count the number of 'regular' jobs

View source: R/count_regular_jobs.R

count_regular_jobsR Documentation

Count the number of regular jobs

Description

Count the number of regular jobs that are running on Peregrine for a specific user.

Usage

count_regular_jobs(user_name = "$USER")

Arguments

user_name

the Peregrine username, for example p123456

Details

Use count_jobs to count all jobs running. Use count_vulture_jobs to count the jobs running on the culture partition.

Value

the number of jobs

Examples

if (is_on_peregrine()) {
  count_regular_jobs()
}

richelbilderbeek/peregrine documentation built on Jan. 3, 2024, 7:42 p.m.