added farm compatibility

For a farm setup, the cron.php needs to be run for each animal
seperately, giving the animal's name as first parameter.

Eg. /usr/bin/php cron.php myanimal