Hello, and thanks in advance.
It doesn't seem possible to me to schedule a chore so that it runs on only certain days. I would like to schedule a chore to run only Monday-Friday, and not on Saturday and Sunday.
Is there any way to accomplish that? The only way I can think of is to make multiple copies of the same chore for each day, and set them to run every week. Is there a more elegant solution?
Thanks,
Schedule Chores to run only certain days?
-
- Site Admin
- Posts: 6647
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: Schedule Chores to run only certain days?
Correct.erik664 wrote:It doesn't seem possible to me to schedule a chore so that it runs on only certain days.
The other way of doing it is to put in the Prolog of the first process some code to check what the day of the week is, and to quit the chore if it's Saturday or Sunday. For the way of determining the day of week, see the heading "To Get The Weekday Of A Date As A Value" in this article.erik664 wrote:I would like to schedule a chore to run only Monday-Friday, and not on Saturday and Sunday.
Is there any way to accomplish that? The only way I can think of is to make multiple copies of the same chore for each day, and set them to run every week. Is there a more elegant solution?
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
- Posts: 18
- Joined: Fri Mar 08, 2013 6:11 pm
- OLAP Product: TM1
- Version: 10.1.1
- Excel Version: 2007
Re: Schedule Chores to run only certain days?
Thanks Alan,
The code you linked to in the other thread is perfect. That was exactly the kind of solution I had in mind.
The code you linked to in the other thread is perfect. That was exactly the kind of solution I had in mind.