a year ago
Is there an advantage to using a Function instead of a regular service with a cron schedule?
Currently, I have a single typescript file as a regular service executed with Bun that runs as a cron job. Should I migrate this to the newly-released Function feature? It appears that a Function will wrap up the file in a Docker container, which is kind of already what the regular service does for a cron-triggered deploy?
Thanks
3 Replies
a year ago
a function on a cron schedule and a regular service on a cron schedule won't have any advantages over each other, at least cost wise.
functions are just a really easy way to spin up a quick service to do a simple task, they are billed the exact same as anything else
a year ago
!s
Status changed to Solved brody • about 1 year ago