Scheduled Email Report

BatchPatch Forums Home Forums BatchPatch Support Forum Scheduled Email Report

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12218
    Magnus Knight
    Participant

    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 notification

    Schd Task – Next Run Time
    Saturday – 02/15/20 – 06:00

    Schd Task – Recurrence
    Monthly (2nd Tuesday) + 4 days

    All 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…

    #12222
    doug
    Moderator

    What version of BP is this? Check under ‘Help > About’

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.