added utility programme to test redirection of stdout and stderr when called from crontab