jobRunner.vbs: Function RunQueuedJob
Calls the appropriate sub based on what was found in the Queue. For an explanation of the subs see this post.
Function RunQueuedJob(Task, Name, Profile)
If LCase(Task) = “rundts” Then
ElseIf LCase(Task) = “runsub” Then
ElseIf LCase(Task) = “runprofile” Then
Status = RunProfile(Name, Profile)
If Profile = “Delta Import and Delta Sync” And status = 0 Then