Aku Ircham Posted June 16, 2023 Share Posted June 16, 2023 30 minutes ago, Lranda said: Untuk setingan cronjobnya gimana mas? Japri aja mas Quote Link to comment Share on other sites More sharing options...
Aku Ircham Posted June 16, 2023 Share Posted June 16, 2023 30 minutes ago, Lranda said: Untuk setingan cronjobnya gimana mas? Japri aja mas Quote Link to comment Share on other sites More sharing options...
Aku Ircham Posted June 16, 2023 Share Posted June 16, 2023 30 minutes ago, Lranda said: Untuk setingan cronjobnya gimana mas? Japri aja mas Quote Link to comment Share on other sites More sharing options...
Aku Ircham Posted June 16, 2023 Share Posted June 16, 2023 30 minutes ago, Lranda said: Untuk setingan cronjobnya gimana mas? Japri aja mas Quote Link to comment Share on other sites More sharing options...
Antoni Edi Kurniawan Posted June 16, 2023 Share Posted June 16, 2023 @kecoamumet dimana ini ?haha Soalnya cuma aktif disini. Quote Link to comment Share on other sites More sharing options...
Antoni Edi Kurniawan Posted June 16, 2023 Share Posted June 16, 2023 Sudah jadi gaes. Quote Link to comment Share on other sites More sharing options...
Antoni Edi Kurniawan Posted June 16, 2023 Share Posted June 16, 2023 57 minutes ago, Aku Ircham said: Aku bisa kok mas, japri aja mas, nanti saya ajari Sudah jadi mas. Quote Link to comment Share on other sites More sharing options...
kecoamumet Posted June 16, 2023 Share Posted June 16, 2023 1 hour ago, Lranda said: Install di vps ya mas? yes bro.. i install it on vps Quote Link to comment Share on other sites More sharing options...
Ardian Posted June 17, 2023 Share Posted June 17, 2023 config cronjob in shared hosting To make it work you must edit file "custom-route.php" at "webhome/routes/custom-routes.php with: ?php use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Artisan; Route::get('generate', function (){ return \Illuminate\Support\Facades\Artisan::call('storage:link'); })->name('generate'); Route::get('/schedule-run', function () { return Illuminate\Support\Facades\Artisan::call('schedule:run'); })->name('schedule-run'); Route::get('/clear-cache',function(){ dd('adsf'); return Artisan::call('optimize'); })->name("cache.clear"); ?> ---------------------- Now you can test: www.yourweb.com/schedule-run For the cronjob i´m using this two every five minutes: cd /YOURHOMEE/artisan schedule:run 1 >/dev/null 2>&1 curl "https://YOURWEB.com/schedule-run" >/dev/null 2>&1 2 1 Quote Link to comment Share on other sites More sharing options...
Lranda Posted June 17, 2023 Share Posted June 17, 2023 7 minutes ago, Ardian said: config cronjob in shared hosting To make it work you must edit file "custom-route.php" at "webhome/routes/custom-routes.php with: ?php use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Artisan; Route::get('generate', function (){ return \Illuminate\Support\Facades\Artisan::call('storage:link'); })->name('generate'); Route::get('/schedule-run', function () { return Illuminate\Support\Facades\Artisan::call('schedule:run'); })->name('schedule-run'); Route::get('/clear-cache',function(){ dd('adsf'); return Artisan::call('optimize'); })->name("cache.clear"); ?> ---------------------- Now you can test: www.yourweb.com/schedule-run For the cronjob i´m using this two every five minutes: cd /YOURHOMEE/artisan schedule:run 1 >/dev/null 2>&1 curl "https://YOURWEB.com/schedule-run" >/dev/null 2>&1 Good answer i will try this thanks you very much Quote Link to comment Share on other sites More sharing options...
hexa tech Posted June 17, 2023 Share Posted June 17, 2023 i did install this awesome script on my aapanel but i got faced two problems here, hope someone whiling to help me to solve the probs.. 1. QRcode doesnt showing when i put my site on SSL (https) console log says socket.io not found on GET url 2. Sending Blast (campaign) messages, somehow it just pending (awaiting) status no error log at all pls help guys.... Quote Link to comment Share on other sites More sharing options...
app gpmp Posted June 18, 2023 Share Posted June 18, 2023 @Ardian Its not work Quote Link to comment Share on other sites More sharing options...
MarCoVar01 Posted June 18, 2023 Share Posted June 18, 2023 @hexa tech 1. you installed node.js so that the qr is activated 2. for the campaign they gave the solution some answers above 4 hours ago, hexa tech said: i did install this awesome script on my aapanel but i got faced two problems here, hope someone whiling to help me to solve the probs.. 1. QRcode doesnt showing when i put my site on SSL (https) console log says socket.io not found on GET url 2. Sending Blast (campaign) messages, somehow it just pending (awaiting) status no error log at all pls help guys.... Quote Link to comment Share on other sites More sharing options...
MarCoVar01 Posted June 18, 2023 Share Posted June 18, 2023 @app gpmp if you realize you did not open the php script in the correct way 1 hour ago, app gpmp said: @Ardian Its not work Quote Link to comment Share on other sites More sharing options...
Antoni Edi Kurniawan Posted June 18, 2023 Share Posted June 18, 2023 4 hours ago, app gpmp said: @Ardian Its not work @app gpmpbe careful when copying the code, make sure it is valid and legible as script not plain text. Quote Link to comment Share on other sites More sharing options...
app gpmp Posted June 18, 2023 Share Posted June 18, 2023 (edited) @Antoni Edi Kurniawan do you know how to settings .env WaSender v 1.7 ? i cannot fix this Edited June 18, 2023 by app gpmp Quote Link to comment Share on other sites More sharing options...
Antoni Edi Kurniawan Posted June 18, 2023 Share Posted June 18, 2023 @app gpmp I don't use it Quote Link to comment Share on other sites More sharing options...
hexa tech Posted June 19, 2023 Share Posted June 19, 2023 (edited) On 6/18/2023 at 10:22 AM, MarCoVar01 said: @hexa tech 1. you installed node.js so that the qr is activated 2. for the campaign they gave the solution some answers above thank you for the answer but unfornetly itsnt the one i mentioned, yes the node is runing but only in HTTP, i tried adding ssl into the node project trough AApanel options but still didnt work, also the campaigns ? i cant find which post u talkin about how to solve it, ive been reading all from first page to the last one still noone can solve, just the cron job stuff and i did make it working too already. but not the original campaign from the Apps tho. Edited June 19, 2023 by hexa tech Quote Link to comment Share on other sites More sharing options...
Antoni Edi Kurniawan Posted June 19, 2023 Share Posted June 19, 2023 1 hour ago, hexa tech said: thank you for the answer but unfornetly itsnt the one i mentioned, yes the node is runing but only in HTTP, i tried adding ssl into the node project trough AApanel options but still didnt work, also the campaigns ? i cant find which post u talkin about how to solve it, ive been reading all from first page to the last one still noone can solve, just the cron job stuff and i did make it working too already. but not the original campaign from the Apps tho. @hexa techI installed it in cpanel and everything worked fine. and I also followed the directions of the previous comment. Maybe aapanel has its own problems. Quote Link to comment Share on other sites More sharing options...
Lranda Posted June 19, 2023 Share Posted June 19, 2023 On 6/18/2023 at 12:47 PM, app gpmp said: @Antoni Edi Kurniawan do you know how to settings .env WaSender v 1.7 ? i cannot fix this Just follow the installation sir noting to setting" In env Quote Link to comment Share on other sites More sharing options...
AOPUQI AOPUQI Posted June 19, 2023 Share Posted June 19, 2023 im cant send media... Quote Link to comment Share on other sites More sharing options...
MarCoVar01 Posted June 20, 2023 Share Posted June 20, 2023 @hexa tech 16 hours ago, hexa tech said: thank you for the answer but unfornetly itsnt the one i mentioned, yes the node is runing but only in HTTP, i tried adding ssl into the node project trough AApanel options but still didnt work, also the campaigns ? i cant find which post u talkin about how to solve it, ive been reading all from first page to the last one still noone can solve, just the cron job stuff and i did make it working too already. but not the original campaign from the Apps tho. check the server.js file is the service Quote Link to comment Share on other sites More sharing options...
hexa tech Posted June 20, 2023 Share Posted June 20, 2023 Just now, MarCoVar01 said: @hexa tech check the server.js file is the service already did bro server.js is on runin trough node options it runing smooth while on HTTP to get QR but not working on HTTPS, the blast options seems didnt work at all, cus only awaiting status, can make it work only with cronjob and spreedsheet, it sucks since it wasnt original options from the apps Quote Link to comment Share on other sites More sharing options...
MarCoVar01 Posted June 20, 2023 Share Posted June 20, 2023 Has anyone managed to make the template, button or lists work? either using the autoreply or campaign Quote Link to comment Share on other sites More sharing options...
MarCoVar01 Posted June 20, 2023 Share Posted June 20, 2023 2 minutes ago, hexa tech said: already did bro server.js is on runin trough node options it runing smooth while on HTTP to get QR but not working on HTTPS, the blast options seems didnt work at all, cus only awaiting status, can make it work only with cronjob and spreedsheet, it sucks since it wasnt original options from the apps @hexa tech If the blast campaigns only work with cron, I have them running the task every minute and that's how it works 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.