functioning cron setup with whenever.