This time I’m bringing you a self-documented cron table file (with an example), that is, a tidy cheatsheet diagram embedded as comments that does just one thing, helps you remember the crontab syntax:
# * * * * * command to be executed
# - - - - -
# | | | | |
# | | | | +—– day of week (0 - 6) (Sunday=0)
# | | | +——- month (1 - 12)
# | | +——— day of month (1 - 31)
# | +———– hour (0 - 23)
# +————- min (0 - 59)
# Alarm clock set to 6:30AM
30 6 * * * /home/nano/alarm
I hope you find it useful, thanks for reading and happy May Revolution Day to everyone!
Archive for the 'Open Source' Category
Self-contained crontab Cheatsheet
Published May 25, 2008 Cheatsheet , Documentation , GNU/Linux , KSH , Korn , Linux , Mac , Macintosh , Open Source , Operating Systems , POSIX , UNIX , bash , cron , crontab 0 CommentsThe Awakeness of Shell Scripting with AWK
Published May 5, 2008 AWK , Development , GNU/Linux , Linux , Open Source , Programming , apropos , bash , man 0 CommentsI guess I’m getting too used to the “it’s been a while!” thingy so, awkward title aside, let’s just move straight to today’s post:
The more I learn about AWK, the more I love it. It’s just that simple. I’ve been trying its powers a bit and came with an awk-mazing (and probably useless, but still exciting) five-lines (sans comments) cute script that emulates the most popular feature (the “-e” option) of our good ol’ boy apropos.
Enter lazyman!
#!/bin/bash
#
# lazyman.sh - displays the name section of some program’s man
# page.
#
# DESCRIPTION
# this tiny script shows the NAME section of a given program’s
# manual page, displaying an output quite similar to
# “apropos -e” but directly calling “man” instead of querying
# against “mandb”.
#
params=$(echo $@ | awk ‘END{print NF}’)
case $params in
1) man $1 | awk ‘/NAME/{getline;print}’ ;;
*) echo “usage: lazyman.sh [program]” ;;
esac
That’s all folks! I hope you’ve enjoyed it and thanks for reading!
Getting Started with Grails
Published February 7, 2008 Books , Development , Folksonomy , Free , Grails , Groovy , Hibernate , JVM , Java , Open Source , Programming , Scripting , Spring , Web Development 0 CommentsGrails is an open-source, rapid web application development framework that provides a super-productive full-stack programming model based on the Groovy scripting language and built on top of Spring, Hibernate, and other standard Java frameworks.
Jason Rudolph is an Application Architect at Railinc, where he develops software that helps keep trains moving efficiently throughout North America.
The book can be downloaded for free (registration required), but also you could always purchase the printed copy.
MySQL: Performance Tuning Best Practices
Published January 16, 2008 Best Practices , Databases , Development , MySQL , Open Source , Programming , SQL , Tuning , Video 1 CommentLearn where to best focus your attention when tuning the performance of your applications and database servers, and how to effectively find the “low hanging fruit” on the tree of bottlenecks.
Jay Pipes is a co-author of the recently published Pro MySQL (Apress, 2005), which covers all of the newest MySQL 5 features, as well as in-depth discussion and analysis of the MySQL server architecture, storage engines, transaction processing, benchmarking, and advanced SQL scenarios.









![Ubuntu Feisty Fawn + Oracle Database 10g XE [WebApp] Ubuntu Feisty Fawn + Oracle Database 10g XE [WebApp]](http://farm2.static.flickr.com/1345/1086311454_f6fc5002f5_t.jpg)