I want to invoke a custom SPTimer Job
from a console appln
.
The reason is since SPTimer job
cant be scheduled at regular intervals like every 4 hrs gap, the timer job needs to run, I have come up with this thought process, like why cant I invoke the custom timer job from a console appln, and this console appln will be added as a scheduler in the Windows Server and set it run on every 4 hrs or every 6 hrs gap.
I know windows service
is another approach, but the deployment or Config. of windows service
is going to be a challenging thing. So thinking of calling from a console appln.
Please advice , whether this feasible? or any downward/-ve impact on this approach?