How to make a bot on js start automatically with the system?
I need the script to start automatically when the system starts up and not turn off while the system is running.
the script is located here /home/user/bot/bot.js
I need it to execute one-time command screen node /home/user/bot/bot.js
1.crontab (@reboot ...)
ubuntu run command after startup
To place the code, please use CodePen or similar tool. Thanks you!