Folder Quikstart Quide?
I feel like this is a very common use case: You have a list of scripts in a directory and you want to be able to run them with different schedules.
In my case I have a python scripts folder with "requirements.txt" but I can't seem to figure out what the easiest way to deploy this is. Theres so many fancy features but getting something like this up and running just doesnt seem possible? I dont want to edit one script at a time. I'd rather have everything synced to git and then push once in a while. Folder push seems to expect a file???
How do I do this? I feel like what I want to do is not that unique.
4 Replies
Also googling anything with "windmill" basically returns 0 useful results, so I'm left to talking to LLMs which dont seem to know the latest versions
Would be very useful to have a quick start guide of "Here's how to get a bunch of python scripts pushed and running".
Hi, you can create different schedules running the same script
I recommend creating the schedules in the UI at first, then doing a pull so you can get familiar with the format windmill expects locally
How does folder push work?
it seems to expect a file and not a folder?
I think you misunderstood. Not different schedules running the same script. I have 10+ interelated python scripts. They have relative imports. Each script has its own cadence. Currently they run via a cron job. I'd like to import them to windmill. What's the easiest way to do this?
I tried doing sync push and it basically did nothing, then i did a folder push, and it keeps telling me i need to specify a file?
I just want to upload the entire folder of scripts, and the requirements.txt and have windmill run the seperate scripts
Hi @oakina , pushing a folder is just pushing the folder permissions
If you want to push a selection of scripts, use sync with proper filter paths