Scheduling Task In Rancher (stop/start deployments)

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