Changed cron job to run every 30 seconds
Changed variable name