Import cronic v2 from http://habilis.net/cronic/
Improve security by using mktemp to safely create temporary files