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 (http://www.braju.com/R/)

See Also

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


R.batch documentation built on May 2, 2019, 4:58 p.m.