Change shutdown profile based on time of day

Is it possible to change the machine characteristics based on time of day? For example, I am interested in having my toml configuration to be min_machines_running = 1 during work hours, but for it to spin down to min_machine_running = 0 overnight. Thank you.

I don’t think Fly-native autoscaling schedules are supported here, but I do this using an API token and a Github Actions workflow that has a cron specification.

2 Likes

Ah. That’s a great idea. I am using Github Actions to auto-build/deploy to Fly already, so hopefully it’ll be straight forward to implement your suggestion. Thank you.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.