I owe you a beer or fourteen.

Crontab accessing postgres killed off postgres semaphores on exit with a inevitable postgres crash following.