Expand on emulating cron-like tasks with snooze
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 57/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Ambito
- documentation
Direzione di ricerca
Inizia dalla pagina cron collegata nell’issue e leggi la pagina man di snooze(1) insieme ai servizi snooze-hourly, snooze-daily, snooze-weekly e snooze-monthly. Documenta esempi concreti nativi di runit per la pianificazione con una granularità inferiore all’ora e spiega come si confrontano con i timer di systemd. Il lavoro è completato quando un nuovo contributore può seguire gli esempi senza dover fare reverse engineering dei servizi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
As an alternative to the standard cron implementations, you can use snooze(1) together with the snooze-hourly, snooze-daily, snooze-weekly and snooze-monthly services, which are provided by the snooze package for this purpose. Each of these services execute scripts in the respective /etc/cron.* directories. (ref)
After spending a while scrutinizing the manpage for snooze, I can see that it has a lot of useful functions (timefiles are awesome, rewrote those several times for my cron jobs). But I'm not quite sure how to emulate cron-like behavior with the listed tools, particularly at a granularity less-than hourly. Someone else was recently asking for clarification on snooze services in the IRC as well, which tells me I'm not the only one. (I can kinda get closer by reverse-engineering the snooze-${time}ly services...)
Given that many people who might be reading the cron page in the handbook may be quite new to void & runit services, I think there might be value in adding some croncrete concrete examples/explanation of runit-native scheduling. This might also help people who are trying to figure out the analog for systemd timers.
- Lingua principale
- CSS
- Stelle
- 217
- Fork
- 212
- Merge medio
- 2g 21h
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di void-linux/void-docs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
void-linux/void-docs#849 · 2 commenti ·
-
bug good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
void-linux/void-docs#595 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
void-linux/void-docs#532 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
void-linux/void-docs#899 · 5 commenti · 2 reazioni ·
-
session and seat management Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
void-linux/void-docs#897 · 5 reazioni ·
Tutte le issue di void-linux/void-docs
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
agilepathway/label-checker#640 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
BasedHardware/omi#15662 · 1 commento ·
-
documentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
-
Docs are out of date: README structure tree, "Make It Yours" pointer, CONTRIBUTING test notes Apertadocumentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
amponce/archive-movie-browser#167 ·
-
user-reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Kong/developer.konghq.com#7316 ·