Scheduled.everyDay has invalid expression

Open
#116 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
kotlin
Domain
cloud

Research direction

Search the Kotlin source for Scheduled.everyDay and inspect the cron expression shown in the issue. Update it to the proposed daily expression and verify that the scheduling-related tests or build pass, with the resulting expression accepted as valid.

Written by the indexing model from the issue text.

Description

Scheduled.everyDay uses an invalid cron expression.

    const val everyDay = "0 0 0/1 * ? *"

I believe the correct expression should be "0 0 * * ? *"

Dominant language
Kotlin
Stars
1.2k
Forks
54
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JetBrains/kotless

All issues in JetBrains/kotless

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.