I’m using a scheduled machine to run some periodic jobs for my app so I can scale to 0 and minimise costs. I currently have to do this as a completely independent part of my deploy process, so this means a seperate flyctl machine
command in my CD.
It would be amazing if I could specify this machine in my fly.toml
file so that no manual commands are needed to set the machine up, it automatically runs the same image as my app deployment, it runs in my primary region and updating the machine is part of a normal flyctl deploy
command.
I imagine this could look something like the following:
[[scheduled_machines]]
schedule = "hourly"
command = "my-scheduled-task"
Thanks for all the amazing work you do at Fly, it is truly pleasurable using your platform