Last active
December 18, 2025 16:40
-
-
Save dozreg-toplud/f4011b612f06ad8f19ad0db1ca3ca7e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :: Script runes: | |
| :: | |
| :: @@: run every fixed period of time | |
| :: ##: import a hoon file from a path, | |
| :: first element of the path is the name | |
| :: of a desk | |
| :: | |
| :: Cron scheduler: run /pack script every Sunday at 02:00 AM, | |
| :: restart once a day if it crashed | |
| :: | |
| @@ ~d1 | |
| ## lib=/orchestra/lib/orchestra/hoon | |
| :: | |
| %- scheduler:lib | |
| :~ | |
| :- /pack | |
| (cron:cron:lib [~[0] ~[2] `~ ~ ~[[7 0]]]) | |
| == | |
| :: Pack your pier | |
| :: | |
| ## sio=/base/lib/strandio/hoon | |
| :: | |
| =/ m (strand:sio vase) | |
| ^- form:m | |
| ;< * bind:m (poke-our:sio %hood helm-pack+!>(~)) | |
| (pure:m !>(~)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment