Closed hugochinchilla closed 5 years ago
See #19
thanks!
I saw that "kubectl create job --from=tzcronjob/xxxx" will not be implemented, but is there a workaround to manually and immediatly trigger a Timezone Cron Job ?
The workaround I found is to duplicate the TZCronJob I need to trigger manually in a standard CronJob at status suspended . So the TZCronJob is automatically triggered by kubernetes at the right Timezone, and manually I can run the always suspended standard cronjob through the command kubectl create job --from=cronjob/xxxx
With regular cronjobs you can create jobs from a cronjob when you want to run a task inmediatly:
kubectl create job --from=cronjob/<name of cronjob> <name of job>
With cronjobber this does not work:
Would it be possible to fix this?