javan / javan/whenever

Wiki documentation for flock

Open
#793 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
8.9k
Forks
715
PR merge metrics
No merged PRs in 30d

Description

I was happy to find this page: https://github.com/javan/whenever/wiki/Exclusive-cron-task-lock-with-flock

I made some changes to bring the command more in line with the built-in commands.

https://github.com/javan/whenever/wiki/Exclusive-cron-task-lock-with-flock/_compare/b92658c52b9c555cdff284c3b9bb9dcb1782e59f...fcc1264c5f5c18e3924ee8463519a6bf2a3c5a44?w=1

Also, I wrote this blog post to explore ways to achieve fair locking in a simple way (spoiler: I didn't find anything). http://code.jjb.cc/linux-flock-does-not-provide-fair-locking

Let me know what you think!

/cc @skojin

Contributor guide

Open the contributing guide

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.

Research direction

Start with the Exclusive-cron-task-lock-with-flock wiki page and review the linked wiki comparison. Check how the proposed command changes align with Whenever's built-in commands and use the linked fair-locking article for context. Done means the wiki documentation has an agreed, consistent command example.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.