# Auto-Restarting a Service

**URL:** <https://forums.balena.io/t/auto-restarting-a-service/93137>\
**Category:** Product support\
**Created:** [April 12, 2020, 5:45am UTC](https://forums.balena.io/t/auto-restarting-a-service/93137 "2020-04-12T05:45:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PoisonDart](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@PoisonDart](https://forums.balena.io/u/PoisonDart)\
**Post date:** [April 12, 2020, 5:45am UTC](https://forums.balena.io/t/auto-restarting-a-service/93137/1 "2020-04-12T05:45:34Z")

</div>

Hello, I’m kinda new to using balenaCloud but I absolutely love it! This might be a dumb question but I was wondering if there was a way to automatically restart a service within an application at a set time every day without creating a crontab.daily script on the device.

---

<div class="post-metadata">

**Author:** ![iamsolankiamit](https://avatars.discourse-cdn.com/v4/letter/i/a88e4f/32.png) [@iamsolankiamit](https://forums.balena.io/u/iamsolankiamit)\
**Post date:** [April 13, 2020, 8:51am UTC](https://forums.balena.io/t/auto-restarting-a-service/93137/2 "2020-04-13T08:51:23Z")

</div>

Hi, we do not support doing this. As you said, this can be done using crontab.

---

<div class="post-metadata">

**Author:** ![PoisonDart](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@PoisonDart](https://forums.balena.io/u/PoisonDart)\
**Post date:** [April 14, 2020, 2:44am UTC](https://forums.balena.io/t/auto-restarting-a-service/93137/4 "2020-04-14T02:44:14Z")

</div>

Hello, thanks for the response! How exactly would I go along with creating a crontab operation for this. The balenaOS terminal does not seem to have a crontab command and I would make one manually using SCP but I cannot find where balenaOS stores the services that are part of the application I have deployed.

---

<div class="post-metadata">

**Author:** ![anujdeshpande](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/anujdeshpande/32/3155_2.png) [@anujdeshpande](https://forums.balena.io/u/anujdeshpande)\
**Post date:** [April 14, 2020, 6:57am UTC](https://forums.balena.io/t/auto-restarting-a-service/93137/5 "2020-04-14T06:57:12Z")

</div>

You can check out this example - [https://github.com/balena-io-playground/cron-example](https://github.com/balena-io-playground/cron-example)
