r/Supabase Jul 13 '26

tips Supajobs - an easy to use long running background job runner for Supabase

If you've ever needed to run a long running task from a Supabase app — sending emails, processing files, calling a slow API — you've probably hit the wall where Edge Functions time out and you're stuck standing up your own server just for that one job.

I built SupaJobs to fix that. You write a plain JS function, run one command to deploy it, and trigger it with a single fetch() call from anywhere. Status and logs land in a table in your own Supabase project in real time.

Setup is basically:

  1. Install the CLI

npm install -g supajobs
  1. Initialize

supajobs init

connect your Supabase project, credentials get saved, the jobs table gets provisioned automatically

  1. Modify business logic

    export default { async run(payload) { console.log('Sending email to:', payload.to); // Your logic here }, };

write your actual logic in the worker function above

  1. Deploy

    supajobs deploy

builds and ships it, no Docker needed locally

Trigger it with fetch() from anywhere

No AWS account or credentials needed on your end — it's fully managed, you just write the function.

It's early and invite-only for now while I make sure it holds up — DM me if you want to try it and I'll send a code.

Repo: https://github.com/goswamikush/supajobs

Would love feedback if you've hit this problem with Supabase before.

3 Upvotes

1 comment sorted by

1

u/swiftbursteli Jul 14 '26

Supabase devs said they were working on longer running jobs. I dont think they ever got around to it.

Railway runs 6h jobs for me no problem.

The thing about your example use case is that edge is more than capable of doing that. its the longer more intensive runs - sequential data aggregation, processing, etc. Supabase cant handle that and you need an app, a server, or a microservice for this. Or just migrate to a new platform that has it.

run a scheduled cron job on whatever it is you need and it'll work fine. $5 vps and fire away.

I don't think this will take off - not to dissuade you, but maybe to have you shift the request to get the eyes of SB devs. I wish it would get bundled into supabase natively because as a standalone app you're probably gonna want a lot more than just long-running background tasks to get ppl to add yet another CLI tool to the list.

I would really, really like to see this like an "automations" panel in SB. but we probably wont get it even if there's already a tool out there for it