question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ExecutionTime.forCron prints to system out

See original GitHub issue

cron-utils 9.0.1

reproducer (scala)

  val cronDefinition = CronDefinitionBuilder.instanceDefinitionFor(CronType.QUARTZ)
  val parser = new CronParser(cronDefinition)
  val cron = parser.parse("0 0 0 1 1 ? 2000")
  ExecutionTime.forCron(cron)

output

We for an class com.cronutils.model.time.generator.OnFieldValueGenerator builder

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
jmrozaneccommented, Oct 12, 2019

@Fantazjatyk @marcoslarsen @francisdb version 9.0.2 was released with this fix. Enjoy! 😄

1reaction
jmrozaneccommented, Jul 11, 2020

@francisdb @marcoslarsen @Fantazjatyk a new version was released with the fixes. Please find details here Thank you for contributing to cron-utils!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cron Expression with ExecutionTime not giving proper output
I am trying to make custom scheduler in my application using a corn expression but it's seems like corn expression is not calculating...
Read more >
com.cronutils.model.time.ExecutionTime Java Examples
This page shows Java code examples of com.cronutils.model.time.ExecutionTime.
Read more >
ExecutionTime (cron-utils 9.0.1 API) - javadoc.io
static ExecutionTime forCron(Cron cron). Creates execution time for given Cron. Parameters: cron - - Cron instance; Returns: ExecutionTime instance ...
Read more >
How To Add Jobs To cron Under Linux or UNIX - nixCraft
How to use crontab command for cron jobs ... The UNIX / Linux system crontab : Usually, used by system services ... Please...
Read more >
Java DateTime Examples, org.joda.time.DateTime Java Examples ...
parseDateTime(latest); String earlyDay = parser.print(earlyDate); String ... break; } else { System.out.println("[" + tag + "]" + " 距离开始还有 " + p.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found