# Ray Documentation: Use of default\_worker.py directly

**URL:** <https://discuss.ray.io/t/ray-documentation-use-of-default-worker-py-directly/4772>\
**Category:** Ray Core\
**Created:** [January 24, 2022, 11:47am UTC](https://discuss.ray.io/t/ray-documentation-use-of-default-worker-py-directly/4772 "2022-01-24T11:47:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiranbi](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@shiranbi](https://discuss.ray.io/u/shiranbi)\
**Post date:** [January 24, 2022, 11:47am UTC](https://discuss.ray.io/t/ray-documentation-use-of-default-worker-py-directly/4772/1 "2022-01-24T11:47:04Z")

</div>

In [Configuring Ray — Ray v1.9.2](https://docs.ray.io/en/latest/configure.html?highlight=default_worker.py#logging-and-debugging)  
it say:

You can also use `default_worker.py --temp-dir={your temp path}` to start a new worker with the given _root temporary directory_ .

what does it mean “you can use”, is default\_worker.py an external api?  
can we create our own workers?

---

<div class="post-metadata">

**Author:** ![sangcho](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/sangcho/32/425_2.png) [@sangcho](https://discuss.ray.io/u/sangcho)\
**Post date:** [January 31, 2022, 1:45pm UTC](https://discuss.ray.io/t/ray-documentation-use-of-default-worker-py-directly/4772/2 "2022-01-31T13:45:17Z")

</div>

Hmm maybe it is the legacy document that wasn’t deleted…
