I've tried many combinations for the scheduled job properties, but cannot find a way to get a scheduled job to start on application start/restart?
I'd like to either do this via a post-init invocation or by the scheduled job properties...
InitialTime = "-1:0:0",
IntervalLength = 1,
IntervalType = ScheduledIntervalType.Days)
Anybody had a similar situation/solution ?
You can write IInitializableModule and trigger the scheduled job using IScheduledJobRepository.
Hi @Sujit - thanks for the suggestion. I had already tried using init complete but was having problems with non async kick off using IScheduledJobExecutor. Using IScheduledJobRepository as suggested was the missing link, I was able to then able to invoke and set to start async.