Comments (2)
The cron argument is only for restart strategies and not for starting strategies so this will not work.
My suggestion is to use the OS's cron to schedule the launch of your script.
from pm2.
Related Issues (20)
- Unable to run npm install pm2 or npm install pm2@latest HOT 2
- pm2 update fails with an error
- pm2 failing npm audit HOT 3
- CVE-2023-42282 | npm `ip` package vulnerable to SSRF or RCE HOT 2
- pm2 is periodically restarting every few seconds without a noticeable error on Google Cloud Run (using Docker)?
- PM2 Start with args (using --) not working on PowerShell HOT 1
- show undefined when i send the invite to user to join
- Better support for dotenv in cluster mode ? HOT 2
- Nodejs app that previously ran fine under pm2 will no longer start, even though same app with same args and user works HOT 5
- Create process but not start HOT 5
- bucket suddenly gone from pm2+ HOT 1
- use cnpm install -g pm2 show error tip
- NextJS 13/14 app router fails with cluster mode with SIGINT HOT 1
- Vulnerability detected in dependent library Braces (CWE-400)
- Snyk Package Analysis - Inflight Missing Release of Resource after Effective Lifetime Vulnerability
- migrate to bun HOT 6
- How to use `--wait-ready` for non node-js programs ? HOT 1
- Interpreter bun not working with multiple instances an cluster HOT 1
- PM2 loses connection with Keymetrics on system reboot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pm2.