Install npm debian5/10/2023 ![]() colors -no-colors will disable output coloring spinSleepTime Time to wait (millis) between launches of a spinning script. minUptime Minimum uptime (millis) for a script to not be considered "spinning" workingDir The working directory in which SCRIPT will execute sourceDir The source directory for which SCRIPT is relative to ![]() ![]() Process id, similar to uid, useful as a namespace for processes (must wrap in a string) Process uid, useful as a namespace for processes (must wrap in a string)Į.g. c COMMAND COMMAND to execute (defaults to node) p PATH Base path for all forever related files (pid files, etc.) e ERRFILE Logs stderr from child script to ERRFILE o OUTFILE Logs stdout from child script to OUTFILE l LOGFILE Logs the forever output to LOGFILE m MAX Only run the specified script MAX times Supported columns: 'uid', 'command', 'script', 'forever', 'pid', 'id', 'logfile', 'uptime'Ĭolumns rm Removed the specified column from the output in `forever list`Ĭolumns set Set all columns for the output in `forever list`Ĭolumns reset Resets all columns to defaults for the output in `forever list`Ĭleanlogs Deletes all historical forever log files Logs Lists log files for all forever processesĬolumns add Adds the specified column to the output in `forever list`. Restartall Restart all running forever scriptsĬonfig Lists all forever user configurationĬlear Clears the specified forever config Stop Stop the daemon SCRIPT by Id|Uid|Pid|Index|Script Monitors the script specified in the current process or as a daemon ![]() You can use forever to run scripts continuously (whether it is written in node.js or not). Note: If you are using forever programatically you should install forever-monitor. There are two ways to use forever: through the command line or by using forever in your code. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |