Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NBSNEBIUS-89: [Tasks] support 'crontab' parameters for regular tasks #264

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

SvartMetal
Copy link
Collaborator

@SvartMetal SvartMetal commented Jan 26, 2024

Support crontab-like params for regular tasks.
Example:

  ...
  // Schedules one task at 19:30 of each day.
  s.scheduler.ScheduleRegularTasks(
    ctx,
    "regular",
    tasks.TaskSchedule{
      MaxTasksInflight: 1,
      UseCronTab:       true,
      Hour:             19,
      Minute:           30,
    },
  )

@qkrorlqr
Copy link
Collaborator

Если хочется, чтобы либу активно использовали, надо для каждой новой фичи писать хотя бы минималистичную документацию с примером использования

Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit f6db9b3.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
4700 4628 0 0 0 72

@SvartMetal SvartMetal merged commit 765125e into main Jan 26, 2024
5 checks passed
@SvartMetal SvartMetal deleted the NBSNEBIUS-89/5 branch January 26, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants