RepositoryShellCNChina
LI

liujianping/job

JOB, make your short-term command as a long-term job. 将命令行规划成任务的工具

151stars
12forks
1issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: retry

#1 Repository of the month

1
TINIX TRENDING·Topic: bench

#1 Repository of the month

1
TINIX TRENDING·Topic: job

#1 Repository of the month

job

GoDoc Go Report Card Build Status Version Coverage Status

make your short-term command as a long-term job

Install

Shell Install (Linux & MacOS)

# binary will be $(go env GOPATH)/bin/job
$: curl -sfL https://raw.githubusercontent.com/liujianping/job/master/install.sh | sh -s -- -b $(go env GOPATH)/bin

# In alpine linux (as it does not come with curl by default)
$: wget -O - -q https://raw.githubusercontent.com/liujianping/job/master/install.sh | sh -s 

Brew install

$: brew tap liujianping/tap && brew install job

OR

$: git clone https://github.com/liujianping/job.git
$: cd job 
$: go build -mod vendor

Usage


$: job -h
Job, make your short-term command as a long-term job

Usage:
  job [flags] [command args ...]

Examples:

	(simple)      $: job echo hello
	(schedule)    $: job -s "* * * * *" -- echo hello
	(retry)       $: job -r 3 -- echox hello
	(repeat)      $: job -n 10 -i 100ms -- echo hello
	(concurrent)  $: job -c 10 -n 10 -- echo hello
	(timeout cmd) $: job -t 500ms -- sleep 1
	(timeout job) $: job -T 3s -r 4 -- sleep 1

Flags:
  -t, --cmd-timeout duration       job command timeout duration
  -c, --concurrent int             job concurrent numbers
  -h, --help                       help for job
  -T, --job-timeout duration       job timeout duration
  -i, --repeat-interval duration   job repeat interval duration
  -n, --repeat-times int           job repeat times, 0 means forever (default 1)
  -r, --retry int                  job command retry times when failed
  -s, --schedule string            job schedule in crontab format
      --version                    version for job

Similar Projects

Discover other similar projects and AI models.

RepositoryHTML
agenda/agenda

Lightweight job scheduling for Node.js

9.7k
Nov 13, 2026
RepositoryRust
jiawesoft/jiascheduler

A high-performance, scalable, dynamically configured job scheduler developed with rust

518
Nov 14, 2026
RepositoryGo
x-mod/routine

go routine control, abstraction of the Main and some useful Executors.如果你不会管理Goroutine的话,用它

63
May 18, 2026
RepositoryShell
theshteves/commit-bot

Automatically generates GitHub activity

192
Mar 23, 2025
RepositoryShell
OutsideIT/FireMotD

:fire: Fire Framework Linux MoTD Generator :fire:

173
Jun 25, 2024
RepositoryShell
shifty0g/ultimate-nmap-parser

parse nmap files

164
Jun 4, 2025
RepositoryShell
bluet/docker-cronicle-docker

Scheduling dockerized Cronicle cron jobs run in docker container.

145
Apr 15, 2026
RepositoryShell
obra/superpowers

An agentic skills framework & software development methodology that works.

331.2k
Nov 28, 2026
RepositoryRust
sxyazi/yazi

💥 Blazing fast terminal file manager written in Rust, based on async I/O.

43.8k
Dec 1, 2026