James Crooke - Web Developer

Cron for Windows IIS

Posted by James on Friday, January 16th, 2009

This is a slightly updated repost of an article I wrote on my old blog. I have had a few requests from people and one from birf to put it back up so here it is;
First, a lesson in the real implementation of cron…
The crontab command, found in Unix operating systems, is used to schedule [...]

continue reading

Introducing “What’s On?”

Friday, May 1st, 2009 - Programming

Last night I put the finishing touches to my mobile phone widget What’s On?.
The widget collects TV data feeds for all (well, most - 237) UK TV channels currently broadcasting today. Using the widget, you can select your desired channel and date to view the schedule for your selection. The widget also allows [...]

continue reading

I’m a Millionaire!

Tuesday, March 10th, 2009 - Random

According to www.dnscoop.com I’m a millionaire. Sadly, it isn’t quite true…..yet.
Today, they value my domain www.cj-design.com at no less than $5,089,906 (just shy of £3.7 million quid) due to it’s popularity, number of links, Alexa ranking and several other factors.
If anyone would like to buy it, I am open to offers in the £2,800,000 [...]

continue reading

Cron for Windows IIS

Friday, January 16th, 2009 - Featured, Servers

This is a slightly updated repost of an article I wrote on my old blog. I have had a few requests from people and one from birf to put it back up so here it is;
First, a lesson in the real implementation of cron…
The crontab command, found in Unix operating systems, is used to schedule [...]

continue reading

ASP character trim function

Friday, January 9th, 2009 - Programming

I was working on an ASP script that required a trim function similar to the PHP function trim($string, $charset);. In PHP, you can start with the word “@apples@” and do print trim($word, “@”); to get “apples” (www.php.net/trim).

In ASP, the trim function doesn’t allow an optional character parameter, so I wrote a character function of my own called “ctrim” that does it…

continue reading

UK Domain Name Expiry

Monday, December 15th, 2008 - Random

I was pleased today as two domains that I have been watching for 99 days exactly, finally became available to register again;
http://www.web-diagnostics.co.uk (and the same domain, just without the hyphen).
Suspended UK Domain Names naturally become available to the public 92 or 99 days from their renewal date.
I have no idea why it is 92 or [...]

continue reading

MySQL Bubble Results Trick

Wednesday, December 10th, 2008 - Databases

I have discovered a cool MySQL trick that allows you to order a result set by a specified list - before ordering it by column X, Y or Z etc.

continue reading