ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

Automating Models to run at scheduled time using python and Windows.

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

user-image
تم إضافة السؤال من قبل Muhammad Naeem , Site Engineer , Huawei Tech
تاريخ النشر: 2013/12/24
Muhammad Naeem
من قبل Muhammad Naeem , Site Engineer , Huawei Tech

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

Muhammad Abdul Hadi Muhammad Abdul Majid
من قبل Muhammad Abdul Hadi Muhammad Abdul Majid , Project Manager , AHCEC

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

المزيد من الأسئلة المماثلة