With Windows Task Sheduler I have to make a task which will be executed on 6th day of every month except weekends. If 6th is day of weekend, task will be executed on Monday (7th or 8th). I've expected making of two rules with AND
logic which one is allowing 1st Mo-Fr and second is disallowing days 1-5 but this is not supported.
Am I missing something or how to easily solve this without installing any huge 3rd party software?
I found DOS/Windows cmd date
can't parse date so I can't compare its output, so maybe PowerShell (never used it yet) or cygwin can solve it but it seems to be very dirty to call unix enviroment for checking the date and if it not fail then calling win32 application again.