micore

command module
v0.0.0-...-c3ab4af Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

README

MICORE

MInimalistic COmmand REpeater

Start the server :

micore_server

make it a service if you want/need to.

Use the client :

  • add a repeated command (set repeat_count to -1 for infinite): micore add "<linux_command> [options]..." "<repeat_interval>" <repeat_count> <username>

  • list repeat task of everyone : micore list

  • list repeat task of a given user : micore list <username>

  • stop a repeat task : micore stop <task_id>

Example :

# micore add "LANG=C date && echo 'hello world !'" "10s" 3 myself

# Output: Wed May 22 21:15:55 AST 2024
hello world !

Output: Wed May 22 21:16:05 AST 2024
hello world !

Output: Wed May 22 21:16:15 AST 2024
hello world !

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL