update.php 236 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: zhima
  5. * Date: 2019/1/25
  6. * Time: 上午9:54
  7. */
  8. $command = "cd /home/wwwroot/default/boniu;git pull;sleep 3s;chmod -R 757 task;chmod -R 757 api;";
  9. exec($command,$data);
  10. print_r($data);