Execute code with a timer

4044
1
Jump to solution
01-05-2015 09:55 AM
RusselKlueg
New Contributor III

Hello All,

I have written a code to download some data, run a few operations, symbolize it, and export it but I need this code to run on a timer. IE execute itself every 15 minutes.

My issue is that I can not figure out how to write the script so that it will execute the file every fifteen minutes. Once it's written I plan having it run on startup so that if the computer is up it will update my files for the operations center. Any advice would be greatly appreciated!

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
AnthonyGiles
Frequent Contributor

Russel,

If your code is just a python file (.py) you can just set up a windows scheduled task to run it:

Scheduling a task - Windows Help

View solution in original post

1 Reply
AnthonyGiles
Frequent Contributor

Russel,

If your code is just a python file (.py) you can just set up a windows scheduled task to run it:

Scheduling a task - Windows Help