how to notify core file creation