Fly.io’s scheduler should support full cron expressions. Right now, we’re limited to hourly, daily, and monthly. I’d like to schedule jobs at specific times, such as 3:30 AM in Brisbane/Australia time, or every 15 minutes for some other machines. Can you expand scheduling support?
I don’t disagree with the feature suggestion, but for the time being you could use the built-in feature in your deployment pipelines. For example, GitHub Actions has a scheduled job; I should think they all do.
Thanks Halfer, I already have a workaround solution but it involves smashing all my functions together and running them all hourly. Keeping things central is pretty important as much as possible. I guess it’s just strange that they went to the trouble of incorporating cron scheduling but then limiting the functionality.
I have no special information here, but I would guess that they’re running around in a frantic start-up environment, and “good enough” for each thing is fine for now, until such time as they’re able to improve it. Just reading here, they’re doing a lot of work on K8S, managed databases, and region isolation.
No doubt! Don’t get me wrong the platform is amazing. I’ve just migrated all my services from AWS. It took me two days in total to migrate everything over which included some tutorials on Docker. I think with AWS it was about a month - maybe more - to get all my services talking nicely together on AWS. Then on Thursday last week my system came to a grinding halt when it was dealing with multiple requests at once (too many connections to the DB) which was the final prompt to make the switch. My own fault, of course, but it goes to show that I’m in over my head when dealing with AWS infrastructure.
This has literally been my only gripe so far. And yes, there are workarounds, but it would be great to have a decent scheduler as it’s a core part of my web application.
What about this?
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.