Cron Expression Kubernetes

cancel
Showing results for 
Search instead for 
Did you mean: 
Keiner
Customer

Cron Expression Kubernetes

I'm having an issue when trying to add a cron job in my JAVA OPTS in kubernetes with Helm Charts.

I have this cron expression in my JAVA OPTS ( -Dsynchronization.import.cron='0 0 0 31 12 ? 2099'). It works well from my docker compose file for testing. The point is I need to move that configuration to a Kubernetes cluster using Helm, so, when I add that to the configmap then the container does not start.

Error from the container and that's basically it:

NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
2/23/2023 9:15:37 PM Error: Could not find or load main class 0
2/23/2023 9:15:37 PM Caused by: java.lang.ClassNotFoundException: 0

 

1 Reply
denys
Partner

Re: Cron Expression Kubernetes

Wrong forum, it's not related to ADF and Angular