Support the ongoing development of Laravel.io →
posted 10 years ago
Configuration
Last updated 2 years ago.
0

Extra info: if i run the artisan command from the command line, the sql query executes and the directory gets deleted. However, when the cronjob runs, only the sql query is executed, but the directory is not deleted.

I've tried the paths:

  • 'public/repo/DIRECTORYTODELETE'
  • ~/projects/.../website/public/repo/DIRECTORYTODELETE

Both work via command line, but no luck when cron does it. Can it be a permission issue? Where is de logging info for the operation?

Cheers, Pieter.

Last updated 2 years ago.
0

solved it ... indeed path problem (in the process i discovered the logging function, and some helpers :-)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

ptrvw ptrvw Joined 10 Nov 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.