Subj : A couple of questions
To   : Nightfox
From : Digital Man
Date : Tue Apr 09 2024 10:53 am

 Re: A couple of questions
 By: Nightfox to Digital Man on Mon Apr 08 2024 09:47 pm

>   Re: A couple of questions
>   By: Digital Man to apam on Mon Apr 08 2024 08:16 pm
>
>  >> 1) How long do files stay "new"?
>
>  DM> I don't know about DD mods, but normally files are "new" when their
>  DM> upload date/time is newer than the user's last logoff time.
>
> I have my ddfilelister set up as a loadable module.  When doing a new file
> scan, I've noticed my file lister is executed for each sub-board, and the
> sub-board code is passed in and the scan mode is passed in via argv.  When
> doing a new file scan, I've been checking bbs.new_file_time.  It seems I
> could set bbs.new_file_time to the current time when it's done, but that
> would mean when ddfilelister is executed for the next file directory, it
> won't list any new files because bbs.new_file_time would have been set to
> the current date/time.
>
> So, I don't know if it should be ddfilelister's responsibility to update
> bbs.new_file_time or not?

No, it is not your module's responsibility to update bbs.new_file_time.
--
                                           digital man (rob)

Synchronet "Real Fact" #86:
Stephen and Rob have a fledgling podcast at http://techdorks.net (also iTunes)
Norco, CA WX: 72.4�F, 18.0% humidity, 7 mph W wind, 0.00 inches rain/24hrs