Siag Office

Shohei Mail

Webresolve

Pen

Dwatch

XMagick

Myhtml

Simple Database Library

Sdbsiod

mod_log_sdb

mod_sql_sdb

Sdbgrey

Ulric's Router Construction Kit

neXtaw

Mowitz

Kylie

O3read

Ucron

Parsecgi

Mr Big


Ulric's stuff


IPv6 Certification Badge for ulriceriksson
 

Ucron - A Centrally Managed Cron Daemon

#!/bin/sh # If the file oldnews.shtml is present, it will contain a list of # all the release notes. In that case we only need to list the most # recent one here. oldnews() { f=`echo $news|cut -f 1 -d ' '` s=`basename $f .shtml | cut -c 6-` echo "News in $s" echo "

" echo "Old news" echo "

" exit } test -n "$QUERY_STRING" || exit dir=/var/www/vhosts/"$QUERY_STRING" cd "$dir" || exit echo "Content-type: text/html" echo news=`ls -t news-*.shtml` c1="#99ccff" c2="#ffffff" bgcolor="$c1" test -f oldnews.shtml && oldnews echo "

" for f in $news; do s=`basename $f .shtml | cut -c 6-` echo "" if test "$bgcolor" = "$c1"; then bgcolor="$c2" else bgcolor="$c1" fi done echo "
" echo "News in $s" echo "
"

This cron daemon allows crontabs to be centrally managed and distributed to any number of nodes. It runs alongside the system's standard crond.

The crontabs of all nodes are stored in any database supported by LibSDB.

This program is known to work on Linux, HP-UX and Solaris. Other Unixes should work as well; editing the Makefile may be necessary.

I am Ulric Eriksson, ulric@siag.nu.

Change log

Installation

See INSTALL.

Download source


More stuff

#!/bin/sh echo "Content-type: text/html" echo echo ""


Ulric Eriksson - April 2002 - ulric@siag.nu
                                                                                                                                                                                                                                                                               
 

Valid HTML 4.01! Powered By ...?
Google