BatchPatch Forums Home › Forums › BatchPatch Support Forum › Scheduled Email Report
- This topic has 1 reply, 2 voices, and was last updated 4 years, 10 months ago by doug.
-
AuthorPosts
-
February 14, 2020 at 11:16 am #12218Magnus KnightParticipant
I’m having trouble getting my scheduled email report to work correctly. I feel like this is such a simple task that I must be overlooking something simple, and I’ll facepalm myself afterwards.
I want to have a report of all of the hosts patching activity emailed to me as a single report the following day. For example, I have a bunch of hosts that will patch Friday night, and I would like to receive a single report of all of the patching on Saturday morning.
I followed the documentation here, https://batchpatch.com/how-to-send-email-notifications-in-batchpatch
Keeping in mind, I want to get just one email report for all of the hosts in this grid. The issue I’m having is, in the email settings if I change either “Body content” or “HTML attachment content” from the default $row to $grid, then I don’t receive an email. Both body content and HTML attachment content must be set to $row, and then I receive the email.
What am I missing here?
Thanks in advance for the help!
Here is an output of a test email when I have it set to $row:
Schd Task – Action
Send email notificationSchd Task – Next Run Time
Saturday – 02/15/20 – 06:00Schd Task – Recurrence
Monthly (2nd Tuesday) + 4 daysAll Messages
Fri-11:07:04> Email Notification: Queued…
Fri-11:06:02> Email Notification Error: Object reference not set to an instance of an object.
Fri-11:06:01> Email Notification: Queued…
Fri-11:05:11> Email Notification Error: Object reference not set to an instance of an object.
Fri-11:05:11> Email Notification: Queued…
Fri-11:03:54> Email Notification Error: Object reference not set to an instance of an object.
Fri-11:03:54> Email Notification: Queued…
Fri-10:56:22> Email Notification Error: Object reference not set to an instance of an object.
Fri-10:56:22> Email Notification: Queued…
Fri-10:55:43> Email Notification Error: Object reference not set to an instance of an object.
Fri-10:55:43> Email Notification: Queued…
Fri-10:54:49> Email Notification: Message sent successfully
Fri-10:54:49> Email Notification: Attempting to send message
Fri-10:54:49> Email Notification: Queued…
Fri-10:53:35> Email Notification Error: Object reference not set to an instance of an object.
Fri-10:53:34> Email Notification: Queued…
Fri-10:49:56> Email Notification Error: Object reference not set to an instance of an object.
Fri-10:49:56> Email Notification: Queued…
Fri-10:48:25> Email Notification Error: Object reference not set to an instance of an object.
Fri-10:48:25> Email Notification: Queued…
Fri-10:37:30> Email Notification: Message sent successfully
Fri-10:37:30> Email Notification: Attempting to send message
Fri-10:37:30> Email Notification: Queued…February 14, 2020 at 2:45 pm #12222dougModeratorWhat version of BP is this? Check under ‘Help > About’
-
AuthorPosts
- You must be logged in to reply to this topic.