repositorypackage
0.0.0-20240615010834-c3ab4afb531b
Repository: https://github.com/blazux/micore.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# 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 !