So you've defined a cronjob.yaml manifest, but it doesn't run until midnight and you want to test it now? Simply replace the variables, and run the following command to create a job from the cronjob.
kubectl create job --from=cronjob/{{ cron_job_name }} {{ the-name-of-this-one-off-job }}
This will create a one-off job in your cluster based on your cronjob.yaml manifest, which might look something like this.
apiVersion: batch/v1beta1