Giter VIP home page Giter VIP logo

process-cycler's Introduction

process-cycler

Simple nodejs cli tool to cycle script execution

This cli tool was born while I was looking for a solution to cycle and run multiple times a simple script I've made. There is nothing at the moment that will give this possibility and all the solutions available like PM2 or forever/forever-monitor are created to do different thing.

The tool will spawn multiple child processes of the target script you want to cycle and will run it until the desired cycles number is reached. To spawn child processes, the tool will rely on the number of CPU cores available in your machine, in this way, all the workload is distributed across available CPU cores.

Under the hood, the only dependency of this project is inquirer that is providing a simple prompt to let you input the needed informations to start the tool.

This project is a work in progress, if you found a bug please feel free to open an issue.

USAGE

Download or clone this repository

git clone https://github.com/realrecordzLab/process-cycler.git

Install dependencies

npm install

Start the tool

node index.js

process-cycler's People

Contributors

realrecordzlab avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.