# Automate bulk index

**URL:** <https://discuss.elastic.co/t/automate-bulk-index/133565>\
**Category:** Elasticsearch\
**Created:** [May 28, 2018, 3:22pm UTC](https://discuss.elastic.co/t/automate-bulk-index/133565 "2018-05-28T15:22:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![delly.set](https://avatars.discourse-cdn.com/v4/letter/d/ac91a4/32.png) [@delly.set](https://discuss.elastic.co/u/delly.set)\
**Post date:** [May 28, 2018, 3:22pm UTC](https://discuss.elastic.co/t/automate-bulk-index/133565/1 "2018-05-28T15:22:22Z")

</div>

hi

possible to run 'bulk index' API using CURL via windows task scheduler? I want to do bulk index every hourly.

but how to secure my the username and password _(--user uname:pwd)_ in the curl command ? my Elasticsearch is integrated with AD realms.

any help is appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 25, 2018, 3:22pm UTC](https://discuss.elastic.co/t/automate-bulk-index/133565/2 "2018-06-25T15:22:23Z")

</div>

Closed on June 25, 2018, 3:22pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
