Forum Discussion
Task should not be started on weekend but can run continuously during weekend
- Dec 14, 2023
Or......how about this "end around run"? As soon as the "milestone" takes on a non-zero value, the Monday through Thursday only custom calendar as the Task Calendar does the trick.
John 🙂
- Ignacio_MartinDec 15, 2023Iron ContributorShahram
As John proposes, the predecessor task, 'Setup' in his example, should have the lowest possible value that Project allows us, and that is 1 minute. Even so, there could be an exceptional case in which this approach was not a solution, such as the 'Setup' starting at the last minute on Friday.
Ignacio- John-projectDec 15, 2023Silver Contributor
Because the "Milestone" task has a Monday through Thursday only Task Calendar (8:00 AM-5:00 PM), the continuous task cannot start at the last minute on Friday, nor any other time on Friday for that matter. Also, the continuous task could start on the last minute Monday through Thursday, which may not be practical or desirable.
So let's tweak the custom calendar for the "milestone" task as follows: Limit the "milestone" start time to 8:00 AM through 4:00 PM Monday through Friday. That allows a 1 hour setup window to start the continuous task.
And here's how it works for a couple of scenarios:
As I said, it's not perfect, but it probably close enough for a reasonable approach.
John
- ShahramDec 15, 2023Copper ContributorGreat, very good idea.
- ShahramDec 15, 2023Copper ContributorThank you, Martin.
John solution is the best.
- John-projectDec 14, 2023Silver ContributorShahram179,
What exactly is "not a good solution"? Is it because the Run task starts at noon on Monday instead of at 8:00 AM Monday?
Try the approach I show in my screen shot above. The continuous task will start a minute "late" (i.e. 8:01 AM instead of 8:00 AM) on any day Monday through Friday but I think that's a good compromise, unless you want to go with a VBA approach as I mentioned earlier.
John- ShahramDec 15, 2023Copper ContributorGreat. Your solution works for my project.
- John-projectDec 15, 2023Silver Contributor
Shahram,
You're welcome and thanks for the feedback. You might want to check out my latest reply to Ignacio for an improved approach.
John