Cron Action

if we are in a cron action there is no session
Use brace on your conditional structures please