This is an event that is kicked off nightly for each customer.
This event only occurs for customer who have had an active subscription, an invoice, a transaction (payment, refund, etc.), or quote within the last 90 days. Customers with no recent activity will not fire this event.
Internally, this event is used for updating caches, consistency checks, scheduled events for customers, etc.
Externally, you can choose to hook into this event and use it for whatever you would like.
Note these fields:
context_str = customercontext_id = ... (this will be the customer_id of the customer)event = nightly