Forum Discussion
JackLacava
2 years agoCommunity Manager
Nice one, Nick!
For the curious, the core of the code looks like this:
Dim dmSchedItem As List(Of DataMgmtScheduleItemEx) = _
DataMgmtScheduleWcf.GetScheduledJobs(dbConnFW, dbConnApp, False)
For Each schedJob As DataMgmtScheduleItemEx In dmSchedItem
'adjust the start time based on what the user defines
schedJob.DataMgmtScheduleItem.StartTime = _
schedJob.DataMgmtScheduleItem.StartTime.AddHours(Convert.ToDouble(hourAdjustment))
' Function SaveScheduledJob(dbConnFW As DbConnInfo,dbConnApp As DbConnInfo,isNew As TriStateBool)
DataMgmtScheduleWcf.SaveScheduledJob( _
dbConnFW, dbConnApp, schedJob.DataMgmtScheduleItem, TriStateBool.FalseValue)
Next
That surfaces an interesting API to DM jobs that can have interesting applications. Cheers!
Related Content
- 2 years ago
- 10 months ago
- 2 years ago
- 4 months ago
- 2 years ago