Processing table: prc.clean_sessions




 
If:
'Clean sessions more than 2 days old. Run from crontab:

 
 
Then:
'31 1 * * * rreport flfss_control -sr 128 -u -f clean_sessions

 
If:
 

 
 
Then:
aa=""

 
If:
 

 
 
Then:
lookup scrub = flfss_sessionids k=aa i=B -npg

If:
not scrub

 
 
Then:
close scrub;exit

 
If:
 

 
 
Then:
sd(10,mdyy/)=@td-"2"

 
If:
scrub(2) le sd

 
 
Then:
delete scrub

 
If:
 

 
 
Then:
getnext scrub;goto loop

 
If:
 

 
 
Then:
exit