From the Windows Control Panel, open the Scheduled Task folder and double click on the Add Scheduled Task item.
A wizard will guide you through setting the parameters for the scheduled task including the program to run, the time and frequency, and the username and password for the machine that you want to run the scheduled task on. You can right click on a scheduled task to run the task manually to test it.
If python is properly registered on your computer this should be enough. You may, however, have to set the Run paramter up to reference both the python executable and the python script containing your code like this (below). Either should work.
# --------------------------------------------------------------------------- # rebuildgeocoders.py # Created on: Thu Oct 25 2007 02:47:27 PM # (generated by ArcGIS/ModelBuilder) # ---------------------------------------------------------------------------
# Import system modules import sys, string, os, arcgisscripting
# Create the Geoprocessor object gp = arcgisscripting.create()
# Local variables... U024_GC_StatewideStreets = "Database Connections\\DC_U024@
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
_StatewideStreets" U024_GC_StatewideStreets_ACS = "Database Connections\\DC_U024@
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
_StatewideStreets_ACS" U024_GC_StatewideStreets_Alias2 = "Database Connections\\DC_U024@
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
_StatewideStreets_Alias2" U024_GC_StatewideStreets_Alias1 = "Database Connections\\DC_U024@
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
_StatewideStreets_Alias1"