Jump to content
Bicrypto v4.5.0 + All Plugins
  • Replies 4.1k
  • Views 249.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Magd Almuntaser
    Magd Almuntaser

    What's new in version 9.0.0 so far: - Added landing page (welcome page). - Added plans system. - Added cronjob page. - Added Multi-Keyword in autoreply. - Added send message with footer. -

  • Magd Almuntaser
    Magd Almuntaser

    This version will not be released soon, because there are many people who violate rights without permission.. I told everyone to use the script for free, but if you want to sell the version or redev

  • Magd Almuntaser
    Magd Almuntaser

    Today the version will be released, and this is what's new in version 8.5.0: - Added send sticker feature. - Added wysiwyg whatsapp (text editing tools). - Added location, vcard, sticker in camp

Posted Images

Featured Replies

comment_77768
1 hour ago, agus amin said:

Masih sama kasusnya hu, disconnect setelah beberapa jam, status install di VPS mulai dari nod.js 18.x s.d 20.x🤣

Belum stabil memang. Sering bengong

comment_77773
21 minutes ago, Supriyatna said:

Please How to install?

Just upload and open your url.

16 minutes ago, Remos said:

@MURASAKI. Please can you send the auto restart nodejs cron jobs 

Cron job for restart nodejs on hosting is imposible. You can do it if using vps

comment_77775
23 minutes ago, Remos said:

@MURASAKI. Please can you send the auto restart nodejs cron jobs 

 

6 minutes ago, Unicode said:

Just upload and open your url.

Cron job for restart nodejs on hosting is imposible. You can do it if using vps

Sory for late reply, i was handle to many damn request for my work.


I never using and test on cpanel on shared hosting, maybe this guide to help "auto restart nodejs cron jobs" with aaPanel based on my case:
---
1. Create Script Restart: restart-node.sh on your directory

#!/bin/bash

# Path ke direktori aplikasi Node.js
APP_DIR="/www/wwwroot/yourwebsite.com/mpwa"

# Nama file utama aplikasi Node.js (misalnya server.js)
APP_SCRIPT="yourjsfile.js"

# Ganti direktori ke aplikasi
cd $APP_DIR

# Cari PID (Process ID) dari aplikasi yang sedang berjalan
PID=$(ps aux | grep $APP_SCRIPT | grep -v grep | awk '{print $2}')

# Jika PID ditemukan, matikan proses
if [ -n "$PID" ]; then
  kill -9 $PID
  echo "Proses Node.js dengan PID $PID dihentikan."
else
  echo "Proses Node.js tidak ditemukan, aplikasi mungkin belum berjalan."
fi

# Mulai kembali aplikasi Node.js di background
nohup node $APP_SCRIPT > app.log 2>&1 &
echo "Aplikasi Node.js telah dimulai kembali."

2. Create Cron Job: restart-node.sh | Setup Every  1 Hours

/bin/bash /www/wwwroot/yourwebsite.com/yourapps/restart-node.sh

Thats it.

comment_77778

Is there a solution for share hosting users..?
Node.js often sleeps when there is no message activity for more than 3 minutes
therefore I have to use API to send messages to a certain number every minute to keep node.js alive

Please tell me guys

  • Author
comment_77780
52 minutes ago, mdis said:

Is there a solution for share hosting users..?
Node.js often sleeps when there is no message activity for more than 3 minutes
therefore I have to use API to send messages to a certain number every minute to keep node.js alive

Please tell me guys

Wait for the next version.. it will be released soon..

comment_77783
3 minutes ago, Jei Grey said:

bagaimana solusinya share hosting dengan cpanel yang symlinknya tidak aktif?

Ganti hosting lain mas

comment_77784
3 minutes ago, Jei Grey said:

bagaimana solusinya share hosting dengan cpanel yang symlinknya tidak aktif?

cpanel dimana tuh? coba hubungi tiketing service hostingnya

comment_77785
1 minute ago, Enno The Explorer said:

cpanel dimana tuh? coba hubungi tiketing service hostingnya

niagahoster

2 minutes ago, Unicode said:

Ganti hosting lain mas

nah....

comment_77786
1 minute ago, Jei Grey said:

niagahoster

nah....

pakai idcloudhost aja, nnti sy bantu klo ada masalah dalam penginstalan mpwany

Edited by Enno The Explorer

comment_77787
4 minutes ago, Enno The Explorer said:

pakai idcloudhost aja, nnti sy bantu klo ada masalah dalam penginstalan mpwany

idcloudhost paket apa?

comment_77790
1 minute ago, Gusik Prasetyo said:

Saya pakai niagahoster lancar aja semua. Symlink bisa.

punya saya kok tidak aktif ya? web hosting paket bisnis? 

comment_77793

Maybe I have a little solution for VPS using PM2, PM2 ensures that Application continues to run without stopping, even if Aapplication has problems, if Application fails or crashes, PM2 will automatically restart..

Stop your Nodejs, then run this command in terminal to run nodejs with PM2.
Customize where your logs file are stored..

pm2 start server.js --name mpwa --log /home/users/logs/mpwa.log --output /home/users/logs/mpwa-output.log

"I use this on aaPanel and cPanel shared hosting running PM2 on nodejs virtual environments and so far nodejs has never crashed."

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Recently Browsing 3

Latest Updated Files