onlyIf

Wrap this task in a ConditionalTask that will only schedule if condition is true.