Jump to content

Ardian

Members
  • Posts

    2
  • Reputation

    5
  • Files

    0
  • Rank

    Newbie
  • Joined

  • Last visited

About Ardian

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Ardian's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

5

Reputation

  1. 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. try this cd /public rm -r storage ln -s ../storage/app/public storage or Run "php artisan storage:link" in directory apps.. $ cd public_html/wablast $ php artisan storage:link
×
  • Create New...