Skip to content

Add a persistent recurring job scheduler - #25

Open
matteomekhail wants to merge 92 commits into
Wip-Sama:devfrom
matteomekhail:codex/issue-7-job-scheduler
Open

Add a persistent recurring job scheduler#25
matteomekhail wants to merge 92 commits into
Wip-Sama:devfrom
matteomekhail:codex/issue-7-job-scheduler

Conversation

@matteomekhail

Copy link
Copy Markdown

Summary

  • replace the Scheduler placeholder with persistent recurring schedules
  • enqueue fresh copies of due jobs through the existing worker queue
  • avoid catch-up bursts by advancing from the actual execution time
  • support daily scheduling from completed jobs plus enable/disable, run now, and delete controls
  • persist schedules separately under the jobs directory
  • test due, disabled, and next-run calculations

Test

GRADLE_USER_HOME=/private/tmp/orlando-gradle bash gradlew :composeApp:jvmTest --tests org.wip.plugintoolkit.features.job.model.ScheduledJobTest

Closes #7

…ue-12-divide-plugin-settings

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginSettingsContent.kt
…-4-plugin-defined-ui

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginContent.kt
…uler

# Conflicts:
#	composeApp/src/commonMain/composeResources/values/strings.xml
…issue-4-plugin-defined-ui"

This reverts commit f8a237d, reversing
changes made to 774280b.
…issue-4-plugin-defined-ui"

This reverts commit 774280b, reversing
changes made to c38bb10.
…ue-5-standalone-plugin-jar"

This reverts commit fcd5149, reversing
changes made to 56ad0fa.
…/issue-6-toolkit-cli"

This reverts commit 0f42289, reversing
changes made to d50b8cd.
…ob-scheduler"

This reverts commit 3a49eca, reversing
changes made to f39eabf.
…ue-5-standalone-plugin-jar"

This reverts commit 56ad0fa, reversing
changes made to 62dee07.
…/issue-6-toolkit-cli"

This reverts commit d50b8cd, reversing
changes made to c8e158a.
…ob-scheduler"

This reverts commit c285e08, reversing
changes made to e55e50f.
…efined-ui

# Conflicts:
#	composeApp/src/commonMain/composeResources/values/strings.xml
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/PluginContent.kt
…ndalone-plugin-jar

# Conflicts:
#	composeApp/src/commonMain/kotlin/org/wip/plugintoolkit/features/plugin/ui/DirectExecutionSidebar.kt
…-toolkit-cli

# Conflicts:
#	composeApp/src/jvmMain/kotlin/org/wip/plugintoolkit/core/utils/PlatformPathUtils.kt
…uler

# Conflicts:
#	composeApp/src/commonMain/composeResources/values-it/strings.xml
#	composeApp/src/commonMain/composeResources/values/strings.xml
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.

1 participant