Here is what I want to do. On Monday I want to copy files from people that belong to NT group A, on Tuesday I want to copy files from people in NT group B, and so on....
This doesn't work, but maybe someone can provide some insight on how to make it work.
Yeah, it's slow-traffic time at KORG again, and the KiXcoders are hunting down posts they can answer Three posts at the same time with two different solutions. Howard's solution is the most scalable as it requires no script modification when new groups should be assigned to specific backup cycles.
_________________________
There are two types of vessels, submarines and targets.
$weekday = @WDAYNO if vartype($Group[$weekday]) = 8192 for each $Grp in $Group[$weekday] if INGROUP($Grp) Do Something... endif next else if INGROUP($Group[$weekday]) Do Something... endif endif
#76980 - 2003-10-0705:01 PMRe: Help with @WDAYNO and INGROUP
Howard BullockHoward Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Glad to hear that it worked for you. Incidentally, the loop was necessary in the prototype code to test since I did not plan on waiting a week for the results.
[ 07. October 2003, 17:02: Message edited by: Howard Bullock ]