Generating lunch groups is now working

Retrieve and generate lunch groups are now working okay   , Fix bugs in
Cron Job timing