clockwork icon indicating copy to clipboard operation
clockwork copied to clipboard

Clockwork tries to create storage/clockwork folder even it's not enabled

Open gitstashgithub opened this issue 3 years ago • 1 comments

Hi guys,

We use clockwork in our local and it works great. However when we did a release in server, it caused issue. We have different server users for request and backend task and the default clockwork folder permission is 644 so it has permission issue.

Except for the permission issue, what I don't understand is the clockwork is not enabled in server, so why it still tries to write the index file(or check the file is writable)?

Thanks. Gordon

gitstashgithub avatar Dec 09 '22 03:12 gitstashgithub

I suggest everyone use composer require itsgoingd/clockwork --dev instead of composer require itsgoingd/clockwork if you don't use clockwork in production.

gitstashgithub avatar Dec 10 '22 10:12 gitstashgithub