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}");



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire