Jump to content

Updating INI Timestamp Values


aa2zz6
 Share

Go to solution Solved by Nine,

Recommended Posts

Is there a way I can update/modify existing time records in my INI file? The idea is to have my INI file update times when a script runs throughout the working day. I wasn't sure if there is a one-liner code I could use to access the INI file, find the AGOL_Last_Published or AC_Last_Published values and modify the times with a current one. The timestamps won't be the same for each value since scripts run at different intervals throughout the day.

 

-INI Record

[GIS_Record]
Run__ArcGIS_Online_Updates=True
AGOL_Last_Published=06:02:48             <<----
Run__AC_Inspections_Updates=True
AC_Last_Published=08:02:48                  <<-----

Link to comment
Share on other sites

  • Solution
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...