Friday, February 16, 2007

The Art of Delegation Using Batch Automation

For those people whom hate donkey work, I have good news for you... even donkey work has a creative side.

The creativity lies in automating the donkey... in software this means writing code to do the job and writing scripts to handle your book keeping tasks.

Using bash scripts on linux and unix are so common. On windows, people hardly know that a command prompt exists, and that they can make their life much easier by writing batch files.

The first rule of automation says:


"If you repeat anything more than once, then consider
automating it."
Most people fail in committing to this rule due to one of three reasons:

1. They fail to notice that they are repeating the same task.
2. They have so much energy that they dont feel automating is necessary.
3. They dont have the 'know how' of writing automation scripts.

Ironically enough, people that love automation turn out to be the laziest people i ever met. I believe this explains the common phrase "need is the mother of invention", to fulfill their idle needs they start creating tools to work for them.

In the next article, I'll teach you how to write simple batch scripts on windows, part of it is for my own reference and learning curve.

No comments: