laravel cache clear not workings sometimes

  caching, laravel, laravel-6.2, php

I am running Artisan::call(‘cache:clear’); to clear the cache when the queue start.

I am getting following error sometimes and sometimes it works:

Failed to clear cache. Make sure you have the appropriate permissions.

Source: Laravel

Leave a Reply