use wp built-in methods & ini config file & try-catch & unique queue