Do not raise an error if no arguments are passed or if the file disappeared
Make sure the cron job only runs once

by using a pid file
Make sure only files older than 10 mins are imported

This is to make sure we give Alfresco enough time to do its work
before we start processing.