Enno The Explorer Posted September 11 Share Posted September 11 Yang kemarin² pakai server.js modif ,gmn hasilnya @Pebrian @agus amin @Ade Prastia Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 11 Share Posted September 11 2 hours ago, Enno The Explorer said: Yang kemarin² pakai server.js modif ,gmn hasilnya @Pebrian @agus amin @Ade Prastia Info server js modifan Quote Link to comment Share on other sites More sharing options...
agus amin Posted September 11 Share Posted September 11 2 hours ago, Enno The Explorer said: Yang kemarin² pakai server.js modif ,gmn hasilnya @Pebrian @agus amin @Ade Prastia Masih sama kasusnya hu, disconnect setelah beberapa jam, status install di VPS mulai dari nod.js 18.x s.d 20.x Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 11 Share Posted September 11 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 Quote Link to comment Share on other sites More sharing options...
Supriyatna Posted September 11 Share Posted September 11 How to install? Quote Link to comment Share on other sites More sharing options...
Supriyatna Posted September 11 Share Posted September 11 (edited) Please How to install? Edited September 11 by Supriyatna Quote Link to comment Share on other sites More sharing options...
Remos Posted September 11 Share Posted September 11 @MURASAKI. Please can you send the auto restart nodejs cron jobs Quote Link to comment Share on other sites More sharing options...
Remos Posted September 11 Share Posted September 11 @Magd Almuntaser Actually it is working on vps with http and now got a new problem it is not working after sometime so please can you tell me the cron job to restart the nodejs Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 11 Share Posted September 11 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 Quote Link to comment Share on other sites More sharing options...
Remos Posted September 11 Share Posted September 11 (edited) @Unicode Yes i am using vps only tell me Edited September 11 by Remos Quote Link to comment Share on other sites More sharing options...
MURASAKI. Posted September 11 Share Posted September 11 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. Quote Link to comment Share on other sites More sharing options...
Remos Posted September 11 Share Posted September 11 @MURASAKI. Please can you send for cpanel Quote Link to comment Share on other sites More sharing options...
MURASAKI. Posted September 11 Share Posted September 11 7 minutes ago, Remos said: @MURASAKI. Please can you send for cpanel I never tried cpanel bro, sory. Quote Link to comment Share on other sites More sharing options...
mdis Posted September 11 Share Posted September 11 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 Quote Link to comment Share on other sites More sharing options...
DW Members Magd Almuntaser Posted September 11 Author DW Members Share Posted September 11 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.. 1 Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0 Link to comment Share on other sites More sharing options...
Enno The Explorer Posted September 11 Share Posted September 11 1 minute ago, Magd Almuntaser said: Wait for the next version.. it will be released soon.. Alhamdulillah sore ini release.. Quote Link to comment Share on other sites More sharing options...
Jei Grey Posted September 11 Share Posted September 11 bagaimana solusinya share hosting dengan cpanel yang symlinknya tidak aktif? Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 11 Share Posted September 11 3 minutes ago, Jei Grey said: bagaimana solusinya share hosting dengan cpanel yang symlinknya tidak aktif? Ganti hosting lain mas Quote Link to comment Share on other sites More sharing options...
Enno The Explorer Posted September 11 Share Posted September 11 3 minutes ago, Jei Grey said: bagaimana solusinya share hosting dengan cpanel yang symlinknya tidak aktif? cpanel dimana tuh? coba hubungi tiketing service hostingnya Quote Link to comment Share on other sites More sharing options...
Jei Grey Posted September 11 Share Posted September 11 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.... Quote Link to comment Share on other sites More sharing options...
Enno The Explorer Posted September 11 Share Posted September 11 (edited) 1 minute ago, Jei Grey said: niagahoster nah.... pakai idcloudhost aja, nnti sy bantu klo ada masalah dalam penginstalan mpwany Edited September 11 by Enno The Explorer Quote Link to comment Share on other sites More sharing options...
Jei Grey Posted September 11 Share Posted September 11 4 minutes ago, Enno The Explorer said: pakai idcloudhost aja, nnti sy bantu klo ada masalah dalam penginstalan mpwany idcloudhost paket apa? Quote Link to comment Share on other sites More sharing options...
Gusik Prasetyo Posted September 11 Share Posted September 11 13 minutes ago, Jei Grey said: niagahoster nah.... Saya pakai niagahoster lancar aja semua. Symlink bisa. Quote Link to comment Share on other sites More sharing options...
Jei Grey Posted September 11 Share Posted September 11 1 minute ago, Gusik Prasetyo said: Saya pakai niagahoster lancar aja semua. Symlink bisa. punya saya kok tidak aktif ya? web hosting paket bisnis? Quote Link to comment Share on other sites More sharing options...
Jei Grey Posted September 11 Share Posted September 11 5 minutes ago, Gusik Prasetyo said: Saya pakai niagahoster lancar aja semua. Symlink bisa. ada eror seperti ini Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.