# Runing FScrawler and ES as background tasks

**URL:** <https://discuss.elastic.co/t/runing-fscrawler-and-es-as-background-tasks/164781>\
**Category:** Elasticsearch\
**Created:** [January 18, 2019, 11:35am UTC](https://discuss.elastic.co/t/runing-fscrawler-and-es-as-background-tasks/164781 "2019-01-18T11:35:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![davlinds](https://avatars.discourse-cdn.com/v4/letter/d/cab0a1/32.png) [@davlinds](https://discuss.elastic.co/u/davlinds)\
**Post date:** [January 18, 2019, 11:35am UTC](https://discuss.elastic.co/t/runing-fscrawler-and-es-as-background-tasks/164781/1 "2019-01-18T11:35:30Z")

</div>

I am using win7 and have successfully tested Elasticsearch and FScrawler although a complete novice 🙂  
I want to transfer the system to another computer that is an underused mailserver; and thus they need to start at different **times** (i.e. start ES first then FScrawler. kibana) in the **background** so they don't take resource from the mail-server

Any ideas, syntax would be appreciated. Thanks

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 18, 2019, 12:46pm UTC](https://discuss.elastic.co/t/runing-fscrawler-and-es-as-background-tasks/164781/2 "2019-01-18T12:46:47Z")

</div>

FSCrawler can not work if elasticsearch is not running. So you need both.  
It's easy to make FSCrawler run only once though with the `--loop` parameter. So you can start it in a shell script, wait that it exits then run another process like Kibana.

But I'd have elasticsearch running all time as a service.

---

<div class="post-metadata">

**Author:** ![davlinds](https://avatars.discourse-cdn.com/v4/letter/d/cab0a1/32.png) [@davlinds](https://discuss.elastic.co/u/davlinds)\
**Post date:** [January 19, 2019, 6:57pm UTC](https://discuss.elastic.co/t/runing-fscrawler-and-es-as-background-tasks/164781/3 "2019-01-19T18:57:06Z")

</div>

Hi David

Thanks for your response

---

<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:** [February 16, 2019, 6:57pm UTC](https://discuss.elastic.co/t/runing-fscrawler-and-es-as-background-tasks/164781/4 "2019-02-16T18:57:12Z")

</div>

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