sample to poll folder to get file list with python script called from digdag
- run the following command on command prompt
- modify PATH with addign "%USERPROFILE%\bin"
PowerShell -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12; mkdir -Force $env:USERPROFILE\bin; Invoke-WebRequest http://dl.digdag.io/digdag-latest.jar -OutFile $env:USERPROFILE\bin\digdag.bat}"
cd <project folder folder>
digdag run mydag.dig
cd <project folder folder>
digdag scheduler
if you want to change interval to run digdag tasks, you should change operator and its parameter at schedule task in mydag.dig. you can refer to this page, Scheduling workflow, about how to set shedule.
...
schedule:
minutes_interval>: 1
...