add cron job to ping api every 10 minutes