replaced set interval with node-cron for afplay execution