Skip to content

A command-line tool that enables you to run a specified command indefinitely, with a customizable delay between each execution

License

Notifications You must be signed in to change notification settings

MParvin/run4ever

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • Add notification on Success/Failure
  • Add notification Desktop method
  • Add notification Telegram method
  • Add notification Slack method
  • Add notification Email method

About

A command-line tool that enables you to run a specified command indefinitely, with a customizable delay between each execution

Topics

Resources

License

Stars

Watchers

Forks