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