Jump to content
Bicrypto v3.7.0 + All Plugins ×

Recommended Posts

@ronipriyatna @We Blend Web use this information to configure this file and the cronjob

On 6/17/2023 at 2:08 AM, 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

 

Link to comment
Share on other sites

Error

Cloudlinux NodeJS Selector demands to store node modules for application in separate folder (virtual environment) pointed by symlink called "node_modules". That's why application should not contain folder/file with such name in application root

Link to comment
Share on other sites

On 1/4/2024 at 2:42 PM, mesh said:

Do i need to create node js for this? if yes then the node js script is giving errors and not connecting to node sever 

@mesh  If you need to install node js, create the activation of the node js service so that it is always active, the file you have to have active is called server.js

Link to comment
Share on other sites

  • 3 weeks later...
On 8/28/2023 at 4:22 PM, Magd Almuntaser said:


i don't know whats the problem exactly but do you try to send qoute """ inside the text? if yes try send only one word like (test)
if the problem is still you can try my decoded script:

easyupload .io/3j7cjg

does anyone can reupload this file?

Thanks

 

Regards

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...