Hey Chuck.

I parse, and read, and write the contents of  Backup.xml file all the time.

However, the calculation as to when the next backup should be is somewhat 
complex:  may take a few hours to code: if you want to be right:  Consider 
scenarios like:

Every Tuesday and Friday at 10PM

And cases like: if the backup is over-due, it should run now.

Regards,
Tony
 

On 7/12/17, 4:13 PM, "4D_Tech on behalf of Charles Miller via 4D_Tech" 
<[email protected] on behalf of [email protected]> wrote:

    I have not but it would appear that you would first open the xml get last
    backup date and time
    The get backup frequency and perform a calculation I do not think backup
    save next date in the xml
    
    Hope this helps
    
    chuck
    
    On Wed, Jul 12, 2017 at 4:42 PM, Tony Ringsmuth via 4D_Tech <
    [email protected]> wrote:
    
    > Does anyone have code that correctly calculates, from the
    > /preferences/Backup.xml file, the Date/Time of the next scheduled 4D 
Backup?
    >
    > If so, could you please share it?
    >
    >
    >
    > Thanks!
    >
    > --
    >
    > Tony Ringsmuth
    >
    > Business Brothers Inc.
    >
    > 763-420-8686
    >
    > **********************************************************************
    > 4D Internet Users Group (4D iNUG)
    > FAQ:  http://lists.4d.com/faqnug.html
    > Archive:  http://lists.4d.com/archives.html
    > Options: http://lists.4d.com/mailman/options/4d_tech
    > Unsub:  mailto:[email protected]
    > **********************************************************************
    
    
    
    
    -- 
    
-----------------------------------------------------------------------------------------
     Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
     Informed Solutions, Inc.
     Brookline, MA 02446 USA Registered 4D Developer
           Providers of 4D, Sybase & SQL Sever connectivity
              http://www.informed-solutions.com
    
-----------------------------------------------------------------------------------------
    This message and any attached documents contain information which may be
    confidential, subject to privilege or exempt from disclosure under
    applicable law.  These materials are intended only for the use of the
    intended recipient. If you are not the intended recipient of this
    transmission, you are hereby notified that any distribution, disclosure,
    printing, copying, storage, modification or the taking of any action in
    reliance upon this transmission is strictly prohibited.  Delivery of this
    message to any person other than the intended recipient shall not
    compromise or waive such confidentiality, privilege or exemption
    from disclosure as to this communication.
    **********************************************************************
    4D Internet Users Group (4D iNUG)
    FAQ:  http://lists.4d.com/faqnug.html
    Archive:  http://lists.4d.com/archives.html
    Options: http://lists.4d.com/mailman/options/4d_tech
    Unsub:  mailto:[email protected]
    **********************************************************************


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to