I have a feature layer in AGOL that contains points, and have scripted in jupyter for buffers to be generated based on one of the fields (proximity analysis) and then output a polygon feature layer with these buffers. My problem is that I need to automate the buffers throughout the day (as data is changed for the field that the buffers are generated from). How do I get the output to overwite the existing feature layer each time the buffers are calculated?
This is the script I have to generate the buffers. Just need it to overwrite the output name.
buffer= use_proximity.create_buffers(itembuffersgeneratedfrom_layer1,
field='buffer_field',
units='meters',
output_name="Buffered_Points")