G
Guest
The following sample is taken from
http://technet2.microsoft.com/Windo...9d11-46c2-a8ef-87b297c68d171033.mspx?mfr=true
schtasks /create /tn "My App" /tr c:\apps\myapp.exe /sc monthly /mo lastday
/m *
It create the taks to run on Day 31 of every month.
But if a month has only 30 days, the schedule task does not get executed.
Eg. Apr, Jun has 30 days. Not forgetting Feb 28.
Any workaround for this?
http://technet2.microsoft.com/Windo...9d11-46c2-a8ef-87b297c68d171033.mspx?mfr=true
schtasks /create /tn "My App" /tr c:\apps\myapp.exe /sc monthly /mo lastday
/m *
It create the taks to run on Day 31 of every month.
But if a month has only 30 days, the schedule task does not get executed.
Eg. Apr, Jun has 30 days. Not forgetting Feb 28.
Any workaround for this?