A simple CLI tool for ensuring that a given script runs continuously (i.e. forever). Note that this project currently fully depends on the community for implementing fixes and new features. For new installations we encourage you to use pm2 or nodemon. If you are using forever programmatically you should install forever-monitor. There are two ways to use forever: through the command line or by using forever in your code. Note: If you are using forever programatically you should install forever-monitor. You can use forever to run scripts continuously (whether it is written in node.js or not). In addition to passing forever the path to a script (along with accompanying options, described above), you may also pass forever the path to a JSON file containing these options. The forever module exposes some useful methods to use in your code. Each method returns an instance of an EventEmitter which emits when complete.

Features

  • There are several examples designed to test the fault tolerance of forever
  • Forever parses JSON configuration files using shush, allowing the use of in-line comments within such files
  • JSON configuration files can also be used to define the startup options for multiple applications
  • You can create a list of metadata objects about each process that is being run using forever
  • Cleans up any extraneous forever *.pid files that are on the target system
  • Removes all log files from the root forever directory that do not belong to current running forever processes

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow forever

forever Web Site

Other Useful Business Software
Job Evaluation and Talent Management Software Icon
Job Evaluation and Talent Management Software

For human resources departments in search of a tool to manage time, expenses, leave, documents, recruitment, and onboarding

Encompassing Visions (ENCV), industry-leading job evaluation and pay equity software, is the best choice for organizations requiring transparent, comprehensive, and objective Job Evaluation software designed to help them ensure equal pay for work of equal value.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of forever!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Performance Testing Software, JavaScript PostScript Software

Registered

2021-04-26