$SERVICEDOWNTIME$ is supposed to be
I also have notifications enabled for scheduled downtime, however, when my script executes for the scheduled downtime event, $SERVICEDOWNTIME$ gets passed with a value of 0 still.A number indicating the current "downtime depth" for the service. If this service is currently in a period of scheduled downtime, the value will be greater than zero. If the service is not currently in a period of downtime, this value will be zero.
It's unclear to me how I would get this service notification command to delay long enough for the macro to be updated. Maybe insert another service notification command (like /bin/sleep 5) prior to my script? Do multiple commands wait for the previous one to complete before executing for notification commands?
Thanks in advance.