imogned

Beschreibung

imogned is a simple tool that notifies you on new program versions (eg. 3rd-party programs for windows) or other events (eg. TheMagPi release)

About the name (for german speaking people only): imogned = Ich mog ned = Ich will nicht ...ständig händisch nach Updates suchen!

Usage

usage imogned [-sendmail|-test|PKG]
-list            lists all PKG
-all|-sendmail   checks all PKG and sends mail
-test            checks all PKG
PKG              checks PKG

On first use adjust $HOME/imogned/_conf to your needs (from- and to-mail adresses).

To get regulary notifcations you have to add imogned to cron via 'crontab -e' eg.:

00 5 * * * $HOME/imogned/imogned -sendmail>/dev/null 2>&1 &

Examples

notifcation mail

To: user1@localhost
From: user1@localhost
Subject: imogned
X-Loop: localhost

There are new versions available of...
FirefoxESR 52.1.0esr - http://www.mozilla.org/en-US/firefox/organizations/all.html
TheMagPi Issue 56 - https://www.raspberrypi.org/magpi/issues/

--
imogned provided by Niksoft Computer-Service
http://www.niksoft.at/

test one packages

$ ./bin/imogned ClamAV
ClamAV:
        last: 0.99.2.
        cur : 0.99.2.

test all packages

$ ./bin/imogned -test
ClamAV:
        last: 0.99.2.
        cur : 0.99.2.
FirefoxESR:
        last: 52.0.2esr
        cur : 52.1.0esr
Inkscape:
        ERROR: CURRENT empty!
        URL: http://www.inkscape.org/download/?lang=de
TheMagPi:
        last: Issue 55
        cur : Issue 56

$HOME/imogned/_conf

TO_ADDY=foo@bar
FROM_ADDY=$USER@$HOSTNAME

BOOL_TEST=false
BOOL_MAIL=true

$HOME/imogned/FirefoxESR.txt

URL_DL=
URL=http://www.mozilla.org/en-US/firefox/organizations/all.html
CURRENT=$(cat $FILE|grep -A 10 -i 'German'|grep -i 'Windows'|tr '=&;<>-' '\n'|grep -A 1 -i firefox|egrep '^[0-9.]+'|head -n 1)

Note: Use URL_DL if you want to show a different URL in the notifcation mail than the check-URL.

Oberfläche Conf + CLI
Sprache Englisch
System Anforderungen Linux/bash
Getestet auf SuSE, Debian
Quellcode bash
Lizenz GPL 2

Download

Wenn Ihr Fehler findet oder Features wünscht, meldet Euch!

Datei Größe md5
Download imogned.tar.gz 3 KB 34a2488dba1e4899fd17bbea33264b73


Ich freue mich über Ihre Spende!
Paypal

Änderungen

  • 2017-04-24 published
  • 2003? first version

Tags: check version, update notification, cron, cli