Thanks to @scottwilkerson I managed to get more knowledge on how the timeperiods work, however last night and once before on the 23rd I was back to square one unfortunately.
This is the timeperiod proposed:
Code: Select all
define timeperiod{
timeperiod_name hr-s3bt-nm
alias LService
sunday 22:00-24:00
monday 00:00-06:00
monday 22:00-24:00
tuesday 00:00-06:00
tuesday 22:00-24:00
wednesday 00:00-06:00
wednesday 22:00-24:00
thursday 00:00-06:00
thursday 22:00-24:00
friday 00:00-06:00
friday 22:00-24:00
saturday 00:00-06:00
saturday 22:00-24:00
sunday 00:00-06:00
}
Code: Select all
[07-25-2018-21:06:29] - LService can't be resumed during working hours. 0
IO manger pid: 49773
IO manger pid: 56727
[07-26-2018-00:46:29] - LService can't be resumed during working hours. 0
So I am not sure what's going on and why the macro gets the wrong exit code assigned.
If anyone could help me with this it would be greatly appreciated.
p.s. the issue seems (maybe) to be with the 00:00-06:00 timeperiod entry since I noticed that the service was resumed a couple of times when it was down within the 22:00-24:00 one.
Thank you.