Get next execution time when using cron schedule

I’m scheduled workflow with cron scheduler and I want to get the next execution time.
Is there any way to get using temporal java client or should i user external libraries like cron-utils ?

If you want more control over cron jobs we recommend writing your own cron workflow logic. Here is a HelloPeriodic Java sample that does this.