Skip to content

Instantly share code, notes, and snippets.

@glw
Created February 25, 2016 22:56
Show Gist options
  • Save glw/a79878eb8eae818bfe69 to your computer and use it in GitHub Desktop.
Save glw/a79878eb8eae818bfe69 to your computer and use it in GitHub Desktop.
schedule task via command line in Windows
#/create = create new task
#/tn = task name
#/sc = frequency
#/tr = command to start task
#more info https://technet.microsoft.com/en-us/library/cc772785%28WS.10%29.aspx#BKMK_create
schtasks /create /tn "createKML" /sc MONTHLY /tr "python c:\path\to\file.py"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment