July 31, 2010

cron-like job setting on Windows XP with schtasks command

Filed under: Sample code,Windows — mariojump @ 4:57 am
Tags: ,

Task Scheduler GUI on Windows XP does not appear to allow us to set a job every 5 minutes.

Instead, schtasks command allows cron-like setting.

To set a job (a batch file) to run every 5 minutes, here’s a sample command.

C:\>schtasks /Create /SC MINUTE /MO 5 /TN yourjob_every5min.bat /TR C:\yourfolder\yourbatchfile.bat

July 3, 2010

Grub Error 18 – Debian Linux 5.05 (Lenny)

Filed under: Debian — mariojump @ 10:04 pm
Tags: , ,

When I installed Debian 5.05 (Lenny) onto a machine with an old motherboard, ASUS CUSL2-C (2000 or 2001 model), I got the following Grub error.

Grub Stage 1.5

Grub Loading, Please Wait
Error 18

My initial configuration was to use an entire HDD (one partition for the mountpoint / and another for swap).

According to the web page below, I made a separate /boot partition with 200MB, from the root (/) partition, placing the /boot at the first partition (/dev/hda1) of the HDD.

Then, base system installation was completed with GUI installation and Debian was successfully booted.

Motherboard: ASUS CUSL2-C (BIOS 1009, which is the latest release)
HDD: Hitachi HTS541616J9AT00 (160GB)

Incidentally, with this motherboard with Matrox G400 Video card, X window was not configured properly, and I am still researching.

Blog at