Welcome to the Linux Foundation Forum!

ex 4.6 cron timezone issues

Today I found a problem while doing the exercise 4.6 domain review.
In the seventh point asks to create a cronjob that executes every week at the current time + 10 minutes, I did it, but when the 10 minutes arrived, the job wasn't executed, I tested some different cron syntax tests to test what could happen, and everything was working as expected with the standard cron syntax. I realized that my computer is using a different timezone than my Kubernetes cluster, I did the exercise again with this in mind and everything went as expected.

With this, I want to warn everyone to double-check this timezone problem before going crazy. Maybe a warning in the exercise could be helpful too.

Categories

Upcoming Training