mercredi 30 janvier 2019

Run ZSH command from Laravel

After sending an email, I need to move an entire folder to another server which is our archive.

I am trying this but it does nothing

$randie = '1548863958';
$src = "/var/www/forms_farm/storage/app/public/qrf/{$randie}";
$dest = "/var/www/file_store/qrf/{$randie}";

exec("mv {$src} {$dest}");



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2MHvetF
via IFTTT

Aucun commentaire:

Enregistrer un commentaire