DayOfWeekBEGIN and DayOfWeekEND

BatchPatch Forums Home Forums BatchPatch Support Forum DayOfWeekBEGIN and DayOfWeekEND

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14251
    ExhaustedTech
    Participant

    I’m trying to set up a queue to check the day and time and then send a message if it’s within that time. I set it to start Monday @ 7:55 and end on Friday @ 18:00. If it’s outside of that time, it’s supposed to do something else.
    I’ve been watching it all day and it was skipping all day as expected but I expected it to proceed with the install after 18:00 and it did not. It had the same behavior as the rest of the time. Is that the correct option for what I’m trying to do? I just want it to not try to install if anyone is logged in and it’s between 7:55am-6pm during the week.

    #14252
    doug
    Moderator

    In order to evaluate your queue and provide guidance/assistance, I would need to see a copy of the exact/actual queue that you setup.

    The conditional operations in the job queue for ‘If this step is executed between DayOfWeekBEGIN and DayOfWeekEND’ require that job queue step to be executed inside of that time/day window in order for anything to occur. Typically these special queue items would be used inside of a loop in your job queue so that each time the job queue loops/runs, it tests to see if that step is running between DayOfWeekBEGIN and DayOfWeekEND, and then it can act accordingly.

    For what you’re describing you should probably just use the task scheduler to schedule your desired job to run at your desired time.

    #14253
    ExhaustedTech
    Participant

    I’m not looking to do it on a specific day time, I want it to check every few hours to see if the conditions are met. I will send you a screenshot of the queue and logs. It looks like in the logs, it’s either ignoring the time or not recognizing it.

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