As in, I don't want the scheduled task to run before the 15th of every month. Even if I (or someone else) accidentely presses 'run'.

I could also write something in the code, but I don't want to recompile everytime the date needs to be changed.


When you create the task, you can select the option: Allow this task to run on demand.

Disabling this, will prevent accidental runs.

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.