This is my first time to schedule a python script. My goal is to schedule my python script to run every 10 min.
MAIN.PY
from scrapy import cmdline
cmdline.execute("scrapy crawl news".split())
I created a task in windows task scheduler, but my script is not running somehow( I know the script is working since i can run it manually ). I been trying to solve this issue for hours without any luck.
First I select my python path, then I select the filepath for the project and choose the .py I want to run. example here Then I choose to trigger every 10 min.
After doing the steps described above, nothing happens. Hope you can help me with a solution to my problem.