This feature request is to add a @reboot schedule for scheduled actions on NodeJS target.
This means, whenever the NodeJS server starts, such schedule would be executed.
Such feature would allow me to programmatically test if, e.g.:
- All required environment variables are set, log to the console if not
- Ensure all custom NPM modules (by third-party extensions) are loaded by self-testing them (e.g.: through a require statement), log to the console if an error occurs
- Is the database working, log to the console if a test query fails
P.S.: @reboot does really exist in crontab
Community Page
Last updated:
Last updated: