diff --git a/PKGBUILD b/PKGBUILD index 810e2fc..d10eb8d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ url="https://github.com/arcan1s/queued" license=("GPLv3") depends=('bash') source=(https://github.com/arcan1s/queued/releases/download/V.${pkgver}/${pkgname}-${pkgver}-src.tar.xz) -md5sums=('a5e1af503128283cda85ca21d08b6853') +md5sums=('94e7c73190939aaf6b63cb7bd2592a7c') backup=('etc/queued.conf') package() diff --git a/README.md b/README.md index c329aff..d872a31 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,22 @@ GPLv3 help message ------------ +* queued: queued [ -c /etc/queued.conf ] [ -v | --version ] [ -h | --help ] Parametrs: -c PATH - path to configuration file. Default is `/etc/queued.conf` -v --version - show version and exit -h --help - show this help and exit + +* add_queued: + add_queued [ -c /etc/queued.conf ] [ -p NUM ] [ -u USER ] [ -h | --help ] /path/to/script + + Parameters: + -c PATH - path to configuration file. Default is '/etc/queued.conf' + -p NUM - job priority + -u USER - username + -h --help - show this help and exit Configuration ------------- @@ -28,10 +38,12 @@ How-to run jobs * create priority file (`script.sh.pr`) with the job priority if it is needed * create user file (`script.sh.user`) with the job username if it is needed * copy files to `$WORKDIR` +Also you may use `add_queued`. See also -------- man 1 queued + man 1 add_queued man 5 queued.conf Instruction diff --git a/queued-1.2.0-src.tar.xz b/queued-1.2.0-src.tar.xz index 5c77398..2d708d4 100644 Binary files a/queued-1.2.0-src.tar.xz and b/queued-1.2.0-src.tar.xz differ diff --git a/sources/queued.1 b/sources/queued.1 index 3bf10f1..25c11cd 100644 --- a/sources/queued.1 +++ b/sources/queued.1 @@ -6,7 +6,8 @@ queued - daemon for starting jobs to queue of calculations [ -c /etc/queued.conf ] [ -v | --version ] [ -h | --help ] .SH DESCRIPTION .B queued -is a simple daemon written on BASH for starting jobs to queue of calculations in the background. +is a simple daemon written on BASH for starting jobs to queue of calculations in the background. To add a new job you may use +.BR add_queued (1). .SH OPTIONS .TP -c /etc/queued.conf