jeroen.se
by jnieuwen
making my crontab more readable
20 April 2010 16:02 - Today I made a small and simple script to make my crontabs more readable. The usage is quite simple. Run te script and redirect the output to a file. Review this file. Then when the file is ok, load it with crontab <file>
The script:
#! /usr/bin/env bash

crontab -l | while read min hour day month wday regel
do
    if [ x${min:0:1} = "x#" ]
    then
        echo "${min}" "${hour}" "${day}" "${month}" "${wday}" "${regel}"
    else
        if [ x${min:0:1} = "x" ]
        then
            echo
        else
            printf "%-7s %-7s %-7s %-7s %-7s %s" "${min}" \
                "${hour}" "${day}" "${month}" "${wday}" "${regel}"
            echo
        fi
    fi
done | sed 's/[ ]*$//'
0 comments
Moved , Prince 2 and Novell
13 April 2010 20:16 - Finally I have some time again to write a blogpost. February and march were busy months in which I moved from Enschede to Delft. Main advantage of this is of course that I live closer to my work, which on average safes me around 12 hours a week of travel time. Another advantage is of course that the house is larger (around 30 m^2) and do not have to park my car 10 minutes away.
But that was not all that happened in the last 2 months. I also passed the PRINCE 2 Foundation exam on the 19th of february.
Beside the PRINCE 2 Foundation exam I also received some Novell certification. Due to my LPIC certifications I became a Novell Certified Linux Administrator and a Novell Data Center Technical Specialist.
0 comments
Categories
Cycling (2)
Gadgets (3)
Misc (22)
Scripting (23)
Travel (7)
Unix (24)
Archive
April 2010 (2)
January 2010 (1)
December 2009 (1)
November 2009 (2)
May 2009 (1)
April 2009 (1)
March 2009 (1)
February 2009 (7)
January 2009 (3)
December 2008 (1)
November 2008 (4)
October 2008 (5)
September 2008 (1)
August 2008 (3)
July 2008 (2)
June 2008 (2)
May 2008 (3)
April 2008 (1)
March 2008 (1)
February 2008 (1)
January 2008 (4)
December 2007 (1)
November 2007 (7)
October 2007 (4)
September 2007 (1)
August 2007 (2)
June 2007 (6)
May 2007 (8)