Daemon for starting jobs to queue of calculations
Go to file
arcan1s 051e6df16b Release 1.2.0
+ edited man page and readme
2013-12-24 00:42:25 +04:00
sources Release 1.2.0 2013-12-24 00:42:25 +04:00
.gitignore Prerelease 1.1.0 2013-12-23 04:39:08 +04:00
AUTHORS Prerelease 1.0.0 2013-12-21 02:40:16 +04:00
COPYING Prerelease 1.0.0 2013-12-21 02:40:16 +04:00
create_archive.sh Added add_queued 2013-12-24 00:38:40 +04:00
install.sh Added add_queued 2013-12-24 00:38:40 +04:00
PKGBUILD Release 1.2.0 2013-12-24 00:42:25 +04:00
queued-1.2.0-src.tar.xz Release 1.2.0 2013-12-24 00:42:25 +04:00
README.md Release 1.2.0 2013-12-24 00:42:25 +04:00

queued

Information

Daemon for starting jobs to queue of calculations. To start deamon just run systemctl start queued as root.

License

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

All settings are stored in /etc/queued.conf. After edit them you must restart daemon (systemctl restart queued).

How-to run jobs

  • create shell script with the command (it have a name script.sh for example)
  • 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

Dependencies

  • bash (sed, awk, etc)
  • systemd

Installation

  • download sources

  • run install.sh from source directory:

      cd queued
      sudo ./install.sh "/path/to/root"