Skip to content

Script to announce the next Overhead's topic on the mailing list

License

Notifications You must be signed in to change notification settings

hackspace-marburg/overhead-mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overhead Mailer

Simple script to send the content of the Themenliste (topic list) for the next Overhead to our mailing list.

Configuration

Copy data/config.example.ini to config.ini and change the content.

Usage

usage: overhead_mailer [-h] [-c CONFIG] [--dry-run] [--date DATE]

optional arguments:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        path to config (default: config.ini)
  --dry-run             don't send a mail, just print it's content
  --date DATE           use given date (format %Y-%m-%d) instead of calculated
                        one

NixOS

The Overhead Mailer is also usable as a NixOS module. Modify your configuration.nix as follows:

{ config, pkgs, ... }:
{
  imports = [path/to/this/repo/default.nix
  ];

  # ...

  services.overhead-mailer = {
    enable     = true;
    configFile = /path/to/the/config.ini;
    interval   = "Thu *-*-* 04:20:00";
  };
}

About

Script to announce the next Overhead's topic on the mailing list

Resources

License

Stars

Watchers

Forks

Packages

No packages published