Create a cronjob imperatively

Andrew Wolf:
Hey there. Is there a way to create a cronjob imperatively?
I try: k create cronjob <name> --schedule="* * * * *" --image=<name> -- <command> but it gives me error (see screenshot attached)
Screenshot 2021-09-09 at 10.02.57.png

Cinch App:
strange. I tried your code and it worked for me

k create cronjob test  --schedule="* * * * *" --image=busybox -- ls
## response
cronjob.batch/test created

Cinch App:
use the -h flag to get a base for a running
k create cj -h | less

chris resnik:
I’m surprised it works with that schedule

chris resnik:
it’s basically not scheduling anything

Andrew Wolf:
indeed. seems like it’s azure configs. thanks for checking in!