# Scheduling Task In Rancher (stop/start deployments)

**URL:** <https://forums.suse.com/t/scheduling-task-in-rancher-stop-start-deployments/38029>\
**Category:** SUSE Rancher Prime\
**Created:** [May 30, 2022, 7:22am UTC](https://forums.suse.com/t/scheduling-task-in-rancher-stop-start-deployments/38029 "2022-05-30T07:22:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RiaanD](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/riaand/32/9054_2.png) [@RiaanD](https://forums.suse.com/u/RiaanD)\
**Post date:** [May 30, 2022, 7:22am UTC](https://forums.suse.com/t/scheduling-task-in-rancher-stop-start-deployments/38029/1 "2022-05-30T07:22:33Z")

</div>

I need to stop and start deployments / pods based on a time time schedule.  
What id the recommended why to do this with in rancher ?

I was thinking that if I could some how schedule the “kubectl scale deployment deployment\_name --replicas=0” it would be able to shutdown or start my app .

TIA
