Create Cron job to restart Pods

Hello I would like to know how to create a Cron job in Rancher to schedule the restart of a Pod, daily.
The command would be:
kubectl rollout restart deployment your_deployment_name

How do i set this up in Rancher as a Cron jon?

you could create a normal cronjob restarting your deployment?

Would this be a kubectl command or something different? Would the job need some kind of account to run / authenticate against the cluster?

just put the kubectl command you would run from the shell in the cronjob file like /etc/cron.d/restart-deployment with content

# restart at 1:00 am
0 1 * * * root /path/to/kubectl --kubeconfig=/path/to/kubeconfig rollout restart deployment your-deployment