Sending Reminders through OpenGoo

OpenGoo is in my opinion the best Project management software out there. Seriously, go try it out. Software doesn’t get much better!

One thing that I have been stuffing around with though is getting OpenGoo to send out reminders through a cron job. This page on the OpenGoo wiki goes through the fine details, however I was getting stuck with the following error when I tried to run the cron.php script on my hosting:

$ php cron.php

X-Powered-By: PHP/5.2.8
Set-Cookie: PHPSESSID=a4017fe683543099cb203ef06e28b426; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/plain

2009-09-30 08:44:29 - Checking email...
2009-09-30 08:44:34 - 0 emails fetched.
2009-09-30 08:44:34 - Purging trash...
2009-09-30 08:44:34 - 0 objects deleted.
2009-09-30 08:44:34 - Checking for upgrades...
2009-09-30 08:44:35 - No new versions.
2009-09-30 08:44:35 - Sending reminders...
2009-09-30 08:45:05 - Error sending reminder: Notifier has failed to construct mailer object
2009-09-30 08:45:36 - Error sending reminder: Notifier has failed to construct mailer object

Right so, for some reason it can’t generate an email. Note that the last two messages weren’t appearing when I tried to run the cron.php script directly through my browser.

So next step was to check my email settings, turns out I had the wrong password set up. So there you go, that easy, if you look in the right spot ;)

September 30, 2009 | In Software | No Comments

Recycling Bin in Windows 7 Explorer

If you hide the recycling bin icon from your desktop, then it also won’t appear in the side bar of windows explorer. Turns out that this makes it really quite hard to get to the recycling bin!

Where's the Recycling Bin?

Where's the Recycling Bin?

Fortunately there’s a quick fix to make it display in the side bar: Right click on the side bar and select Show all folders. Now you can see it! Note that also displays your home folder, but I find this to be a good thing :D

There's the Recylcing Bin!

There's the Recylcing Bin!

September 25, 2009 | In Software | No Comments

Starting and Stopping Processes with a Batch Script

This post explains how to write batch scripts in Microsoft Windows to start and stop a particular program. This can be really handy if you want to schedule a program to start and stop at particular times using the Task Scheduler.

The following batch script will start a program in a given directory in minimised window mode:

@echo off

echo.
echo Starting «ProgramName»
echo.

start /D"C:\Program Files\«ProgramDir»\" /MIN /B «ProgramExec.exe»
  • Replace «ProgramName» with a description of the program that you are starting. This is for informational purposes only.
  • Replace «ProgramDir» with the directory your program is installed.
  • Replace «ProgramExec.exe» with the executable program.

The following batch script will stop a particular program executable by killing the process (this is done forcefully).

@echo off

echo.
echo Stopping «ProgramName»
echo.

taskkill /F /IM «ProgramExec»
  • Replace «ProgramName» with a description of the program that you are starting. This is for informational purposes only.
  • Replace «ProgramExec» with the executable program that you want to stop.

The key to these two batch scripts is:

  • Using the start command to start the program. Type start /? in a command prompt to learn more.
  • Using the taskkill command to stop the program. Type taskkill /? in a command prompt to learn more.
September 22, 2009 | In Programming | No Comments

Troubleshooting PC Power Supplies

The following are some useful resources on PC Power Supplies and troubleshooting them:

A few tips on buying a PC power supply:

Some very important points from these articles (these are direct quotes):

  • Most desktop PCs barely use more than 200w of power
  • Power efficiency peaks around 250w
  • Your PC is statistically idle 99% of the time it is turned on

To help remember which wire is which rail, think alphabetical order:

  • Black = ground
  • Orange = 3.3v
  • Red = 5v
  • Yellow=12v

Remember, black is always ground. On your multimeter red = Live, black = Ground. Always ground the multimeter with the appropriate ground connection! This is very important.

Testing for a dead power supply:

  • Check power supply to motherboard connection
  • Check power supply to drives
  • Below 11.5V for VDC (yellow) indicates issues
  • Below 10.5V for VDC means that the PC probably won’t boot.
September 22, 2009 | In Hardware | No Comments

Testing Portable USB Drives

Large USB drives are becoming very commonplace 8GB, 16GB, 32GB, 64GB etc. One thing to watch out for with these larger drives is that they may have defects or if you happen to get one at a very good price, it may turn out to be fake.

One of the first things you should do is to perform what is known as burn in testing — filling up the drive to its capacity and then verifying that the data stores correctly. Its a good idea to do this before you go and put all your valuable data on it!

Two programs I have personally used and recommend are:

The links above take you to sites that give you more information about how to use these programs. One very important thing to remember is that these programs will delete any data on the drives while testing them so make sure you get your important information off your drive before you start!

September 21, 2009 | In Software | No Comments
Page 13 of 141234567891011121314