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

Archive for January, 2009

Cron for Windows IIS

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 [...]

ASP character trim function

Friday, January 9th, 2009

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…