Skip to content

0x1eef/blocks.cron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

blocks + cron configures blocks to run at regular intervals (once a day, at 12AM localtime) via cron(8). A dedicated user account (_blocks) isolates the execution of blocks from other user accounts.

Design

Tree

$ tree -a /home/_blocks
.local
├── bin
│   └── blocks+cron
├── libexec
│   └── blocks+cron
│       ├── copy
│       └── reload
├── share
│   ├── blocks
│   │   └── .gitkeep
│   └── blocks+cron
│       └── .gitkeep
└── var
    └── log
        └── .gitkeep

Requirements

Install

# Clone
git clone https://github.com/0x1eef/blocks.cron
cd blocks.cron

# Install
$ doas -u root make install
$ doas -u root setup-blocks+cron

Sources

License

BSD Zero Clause
See LICENSE