[PR #92] [MERGED] Rake example does only fire once #101

Closed
opened 2025-12-29 00:22:36 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/plashchynski/crono/pull/92
Author: @magynhard
Created: 2/19/2021
Status: Merged
Merged: 5/29/2022
Merged by: @plashchynski

Base: masterHead: patch-1


📝 Commits (2)

  • 0af1645 update rake example
  • 9f1bd7b Merge branch 'master' into patch-1

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 README.md (+2 -2)

📄 Description

As #invoke ensures to load a task only if it needs to (once), it is necessary to use #execute instead.

Otherwise in the example the rake task is only fired once after 5 seconds and then ignored at future calls.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/plashchynski/crono/pull/92 **Author:** [@magynhard](https://github.com/magynhard) **Created:** 2/19/2021 **Status:** ✅ Merged **Merged:** 5/29/2022 **Merged by:** [@plashchynski](https://github.com/plashchynski) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`0af1645`](https://github.com/plashchynski/crono/commit/0af1645456ca3982a1eb4a92b354b9df1cb09460) update rake example - [`9f1bd7b`](https://github.com/plashchynski/crono/commit/9f1bd7bf722a860866ba3757eb986df8d32c6ed3) Merge branch 'master' into patch-1 ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+2 -2) </details> ### 📄 Description As `#invoke` ensures to load a task only if it needs to (once), it is necessary to use `#execute` instead. Otherwise in the example the rake task is only fired once after 5 seconds and then ignored at future calls. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 00:22:36 +01:00
adam closed this issue 2025-12-29 00:22:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/crono#101