I have a mxd file that contains several feature classes and they get updated every day. I am with ArcGIS 10.1 at the moment. It would be potentially upgraded to 10.5 in the near future anyway.
I have successfully published the mxd file to ArcGIS Online as a Feature Layer using ArcMap -> Share As -> Service -> Hosted Services on ArcMap.
As the feature classes get updated every day, I would like to achieve an automated approach to allow the mxd file to be published/updated to ArcGIS Online on a daily basis. Such that the Feature Layer can be updated there accordingly.
Is this something that can be achieved using ArcGIS Python or REST API?