FYI - SET_PFCMARK script

Brian K. White bw.aljex at gmail.com
Tue Mar 29 22:53:31 PDT 2022


Changing PFCMARK changes the meaning of data that's already been 
recorded. To me that means you should almost never change it. Once per 
career maybe, or only on new installs with no old data.

Really if it were up to me PFCMARK would have a special value EE or XX 
or something that means instead of setting the meaning of a 2-digit 
year, it throws an error any time a 2-digit year is encountered at all.

But I think it's bad advice to be changing pfcmark lightly or frequently.

-- 
bkw



On 3/29/22 16:37, Richard D. Williams via Filepro-list wrote:
> Here is a script I used on a Linux server to always keep PFCMARK 10 
> years ahead.
>
> cat /usr/local/bin/SET_PFCMARK
> YEAR=`date '+%G'`;
> YEAR=$((YEAR + 10));
> PFCMARK="${YEAR:2:2}";
> export PFCMARK
>
> I set it in /etc/profile.d/filepro.sh and in my rc.local file.
> I used this syntax . /usr/local/bin/SET_PFCMARK.
>
> Richard D. Williams
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list



More information about the Filepro-list mailing list