Cron fixed for multi domain and attributes carryover in recurring invoices
hardcoded domain_id in modules/api/cron.php removed