Subj : Some over haching
To   : Janis Kracht
From : Gert Andersen
Date : Sat Jan 07 2017 11:13 am

 * Reply to message originally in area CarbonArea

Hello Janis!

Fri Jan 06 2017, Janis Kracht wrote to Gert Andersen:

 >> I thinking on then too on how I by linux can manage a dos command as
 >> example 'if not then copy else'
 >>if not exist lnxr500.${num} then copy lnxr500.006 to a dir lnxr500.${num} 
 >>else copy lnxr500.${num} to dir\
 >>The script get the julian day and then is it on by checking some segment 
 >>files and copy them to daily segment files, so latest and newest segment 
 >>is there to makenl use the rights segment to the dailylist.

 JK>I created a new .ctl file for each day of the week, monday.ctl, 
 JK>tuesday.ctl, etc. etc. for the dailylist nodelist files.

 JK>My cronjob just runs that day's .ctl file.

What about the zone.ctl is you then just use one zone.ctl to make sure you have 
incoming segments in use or then 7 zone.ctl.
I normaly using zone.ctl and 7 dXzone.ctl file but the problem is that when I 
run the dailys distrib as dlist1 dlist2 etc. then is the zone output files got 
to got like dzone.013 after dzone.006.
My daily .ctl have this set in them 
process saturday
publish saturday

Then is there else to do a daily cp zone.006 or zone.013 to zone.${num} so it 
been to the actually day.

  Take care,
            Gert

      - Get the best with linux - 

--- Msged/LNX 6.2.0 (Linux/2.6.39-gentoo-r1 (x86_64))
 * Origin: KofoBBS at ftp://fido0.kofobbs.net (2:230/150)