Jump to content

Logo

* * * * - 1 votes

Solved : Rule:If 3th is working day then offset to 4th


3 replies to this topic

#1 univ

    Senior Member

  • Members
  • PipPipPip
  • 84 posts

Posted 28 December 2009 - 11:03 AM

Hello,
I need to create a task with the following rule:
execution the 3th of every month if it's a business day then offset to the 4th regardless if the 4th is a business day or not.
Note that I am under Dollar Universe 5.1.3
Thank you for your help

#2 men

    Hero Member

  • Root Admin
  • PipPipPipPip
  • 4,389 posts
  • Gender:Male
  • Location:Europe

Posted 28 December 2009 - 12:12 PM

Hello,

You will have to go through a "technical" job/Task.

You can for instance schedule this Task on the 3rd of the Month. Its script includes a check on the type of the current day (working day or not, you can use the uxdat binary for this) and then create a launch (via uxadd Fla or even a uxupd TSK) or trigger (via uxordre) the "real" job on this same day or the next day.

Michel

#3 univ

    Senior Member

  • Members
  • PipPipPip
  • 84 posts

Posted 28 December 2009 - 12:39 PM

Hi,
Thank ou for your answer.
I'm going to try your solution, i think it's a good solution.

I wish you a happy new year

#4 men

    Hero Member

  • Root Admin
  • PipPipPipPip
  • 4,389 posts
  • Gender:Male
  • Location:Europe

Posted 28 December 2009 - 12:50 PM

The same to you! :(





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users