http操作

  1. start_time=昨天8点的毫秒时间戳
  2. end_time=今天8点的毫秒时间戳
  3. curl -X PUT \
  4. http://ke-query.dp.jpushoa.com/kylin/api/cubes/${cube_name}/build \
  5. -H 'Authorization: Basic bWF6YjpNYXpiQDIwMjEwMzIw' \
  6. -H 'Content-Type: application/json;charset=utf-8' \
  7. -d '{ "startTime":'${start_time}', "endTime": '${end_time}', "buildType": "BUILD"}' \
  8. > /tmp/${cube_name}_test.log