Register now or log in to join your professional community.
How can we automate Models created in ArcGIS to run automatically after a specific time period so that we do not need to do these tasks manually
http://techbeetian.wordpress.com/2013/12/24/updating-gis-maps-automatically-using-python-scripts-and-windows/ Here is what I did to handle this... Kindly share your solutions on this topic
Create a python script and place it at aknown location with permissions granted to everyone.
schtasks /Create /SC HOURLY /TN PythonTask /TR "PATH_TO_PYTHON_EXE PATH_TO_PYTHON_SCRIPT"
That will create an hourly task called 'PythonTask'. You can replace HOURLY with DAILY, WEEKLY etc. PATH_TO_PYTHON_EXE will be something like: C:\\python25\\python.exe. Check out more examples by writing this in the command line:
schtasks /?
Answer taken from http://stackoverflow.com/questions/2725754/schedule-python-script-windows-7