D
daveL
Hello,
I have created a Class that creates Schedules
daily, ,interval (seconds), monthly, etc
this class only holds next run time, updates to nextrun time after and so
forth...just holds holds information about a single schedule and methods to
preform maintenance...
lets say i have a list of 100 of the above schedules to execute some event
based on daily, seconds, weekly, etc
there stored in a Collection
what would be the best way to impliment this in a windows service
1 . single timer in the service set to say 10ms to scan the collection and
see if current time is time to kick off event
or
2. set a timer for each indivual schedule and let the service just maintain
the list of schedules
hope i explained that enough
tks
DaveL
I have created a Class that creates Schedules
daily, ,interval (seconds), monthly, etc
this class only holds next run time, updates to nextrun time after and so
forth...just holds holds information about a single schedule and methods to
preform maintenance...
lets say i have a list of 100 of the above schedules to execute some event
based on daily, seconds, weekly, etc
there stored in a Collection
what would be the best way to impliment this in a windows service
1 . single timer in the service set to say 10ms to scan the collection and
see if current time is time to kick off event
or
2. set a timer for each indivual schedule and let the service just maintain
the list of schedules
hope i explained that enough
tks
DaveL