Hi i'm new to this please someone help in this. thanks in advance I want to schedule a job for deleting a pod for every 3 days in midnight. Manually script is working fine but scheduling with crontab is not wokring. note:- deployment is statefulset
#!/bin/bash
kubectl delete pod keycloak-server-0
gave permission to execute with chmod +x <sh file name>
scheduling script with cron
00 00 */3 * * <path of the script>