isLocked.Job: Checks if a job is locked

Description Usage Arguments Value Author(s) See Also

Description

Checks if a job is locked either by this Job object or another. A job is defined to be locked if an unremovable lock file (.lock) exists. This function will try to delete the lock file before checking in order to avoid forgotten or false lock files.

Usage

1
2
## S3 method for class 'Job'
isLocked(this, ...)

Arguments

...

Not used.

Value

Returns TRUE if job is locked, otherwise FALSE.

Author(s)

Henrik Bengtsson

See Also

*lock() and *unlock(). For more information see Job.


HenrikBengtsson/R.batch documentation built on May 6, 2019, 11:52 p.m.