Select to view content in your preferred language

Getting Pythons to run at certain times

1371
3
Jump to solution
08-25-2014 12:19 PM
PrestonStafford
Deactivated User


I have taken my Models and turned them into Python Scripts in my Filedatabase. I want to be able to set those Python's to be able to run at the end of each week to update. My question is do I need to be working in a Arcsde to do so?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
MichaelVolz
Esteemed Contributor

No just use Windows Scheduled Tasks if you are working in a Windows environment.

View solution in original post

0 Kudos
3 Replies
MichaelVolz
Esteemed Contributor

No just use Windows Scheduled Tasks if you are working in a Windows environment.

0 Kudos
RussellBrennan
Esri Contributor

You do not need to be working in an enterprise (SDE) geodatabase to schedule scripts to run. This can be accomplished via the windows task scheduler on Windows or a cron job on Linux. Below are two links for how to do this on Windows.

Skip to 44:30 in this video to see how to use the task scheduler to call a python script:

Administer Your Enterprise Geodatabase through Python | Esri Video

Also, there is a blog post on this here:

Scheduling a Python script or model to run at a prescribed time | ArcGIS Blog

XanderBakker
Esri Esteemed Contributor

I've moved your post into the Python space. You will probably get a much more response here. You can see more on the community structure, and what topics are under each space from the following documents:

GeoNet Community Structure 

ArcGIS Discussion Forums Migration Strategy

Thanks!

Xander

0 Kudos