Categorygithub.com/mparvin/run4ever
repositorypackage
1.1.0
Repository: https://github.com/mparvin/run4ever.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

run4ever

run4ever is a command-line tool that allows you to run a specified command indefinitely, with a specified delay between each execution.

Build

git clone github.com/mparvin/run4ever
go build -o run4ever

Usage

run4ever [flags] [command]

Flags

    --ps : Show a list of running commands and their PIDs.
    -d or --delay: Specify the delay in seconds between command executions. Default is 10 seconds.
    -v or --verbose: Enable verbose mode. This will cause run4ever to print additional output such as errors and confirmation messages.

Example

All examples are in examples directory.

Description

run4ever is a command-line tool that allows you to run a specified command indefinitely, with a specified delay between each execution.

Todo

  • Fix flags conflict between run4ever and command (Fixed)
  • Add ps flag
  • Move runInfinitely function to tools package
  • Add github actions
  • Add tests
  • Add timeout flag
  • Add -g flag to run command in background
  • Add -l flag to list all running jobs
  • Add more examples
  • Add bash completion