Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to IFDC FileGate Project(sm) Intern... <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Janis Kracht | Gert Andersen | Some over haching |
January 6, 2017 4:22 PM * |
|||
Hi Gert, >> I haven't had a problem with the date, Gert.. >> I use this in my script: >> num=`date +%j --date=Friday` >> pick=`expr substr $num 2 3` >> year=`date +%Y` >> lastwk=$(($num -7)) >> lpick=`expr substr $lastwk 2 3` >> Then I use the appropriate var where I need it. >> Hope this helps.. > 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. I created a new .ctl file for each day of the week, monday.ctl, tuesday.ctl, etc. etc. for the dailylist nodelist files. My cronjob just runs that day's .ctl file. Take care, Janis --- BBBS/Li6 v4.10 Toy-3 * Origin: Prism bbs (1:261/38) |
||||||
|
Previous Message | Next Message | Back to IFDC FileGate Project(sm) Intern... <-- <--- | Return to Home Page |
Execution Time: 0.0837 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |