#job #queue #task #task-queue #directory #db #rtqd

bin+lib rtq

an atd like job management tool. run jobs one by one on single host

1 unstable release

Uses old Rust 2015

0.1.0 Jun 16, 2018

#43 in #task-queue

MIT license

18KB
406 lines

RTQ (RusT job Queue)

Description

This project contains two binary

  • rtqd: the daemon which runs the jobs from job queue
  • rtqa: add the job into the job queue

The job queue is stored in sqlite database, which will be created in $HOME/.rtq/rtq.db

The log directory of rtqd locates at $HOME/tmp/rtq_work_dir/rtq/

The working directory for individual task locates at $HOME/tmp/rtq_work_dir/tasks/

Example

all example need to keep rtqd up.

  • rtqa echo "hello world"
  • rtqa bash -l -c "sleep 30 & echo oh my god 2&>1 > my_redirected_output.log"

Dependencies

~25MB
~469K SLoC