calculation.sh 631 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. git config core.ignorecase false
  3. chmod 777 /app/data/tmp -R
  4. service crond restart
  5. domain=`php /app/bin/tools.php getDomain`
  6. port=`php /app/bin/tools.php getPort`
  7. curl -s http://${domain}:${port}/v2/tools/report-calculation?key=machine
  8. curl -s http://${domain}:${port}/v2/tools/report-calculation?key=statement
  9. curl -s http://${domain}:${port}/v2/tools/report-calculation?key=ticket
  10. curl -s http://${domain}:${port}/v2/tools/report-calculation?key=inventory
  11. curl -s http://${domain}:${port}/v2/tools/report-calculation?key=processIn
  12. curl -s http://${domain}:${port}/v2/tools/report-calculation?key=processOut