I have got a pyhton script for reading a csv file from a server, extracts one line and send an email with the extracted line. But I would like to run the scipt every 20 minutes which is the time step for updated the csv file. I think the best way is to launch a .bat script

here my .bat script

@echo off
python  C:\Users.....\mypythonScript.py %* 

I have made a simple one which run the python script but I´d like to repeat every 20 minutes.

migrated from stackoverflow.com Nov 18 '15 at 2:24

This question came from our site for professional and enthusiast programmers.

  • 3
    Use the windows scheduler. – Morgan Thrapp Nov 17 '15 at 18:18
  • window sheduler permits task for a day – kamome Nov 17 '15 at 18:21
  • 2
    Nope. You can have it repeat with any duration. – Morgan Thrapp Nov 17 '15 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy