UPDATE `hb_cron_tasks` SET status='1' WHERE status='0' AND task='generateInvoices';
