Replaced lockfile for echoing date

removed lockfile command in favour of echoing date to a file. This will
remove the need for procmail but still achieve the same functionality