v1.4.1.sh 275 B

12345678
  1. #!/usr/bin/env bash
  2. service crond restart
  3. hostname=`hostname`
  4. domain=`php /app/bin/tools.php getDomain`
  5. port=`php /app/bin/tools.php getPort`
  6. curl -s http://${domain}:${port}/v2/tools/init?key=report
  7. curl -s http://${domain}:${port}/v2/tools/report-calculation?key=statement