DEV Community

Alex Spinov
Alex Spinov

Posted on

Trigger.dev Has a Free Background Jobs Platform — Long-Running Tasks Without Infrastructure

A developer needed to process uploaded CSVs in the background. Bull/Redis needed a server. AWS Lambda had 15-minute limits. Vercel functions timeout at 60 seconds.

Trigger.dev is a platform for background jobs. Write TypeScript functions that run for hours. No infrastructure to manage.

What Trigger.dev Offers for Free

  • 50,000 Runs/Month - Free tier
  • Long-Running - Tasks can run for hours (not seconds)
  • TypeScript - Full type safety
  • Retries - Automatic retry with backoff
  • Scheduling - Cron and delayed jobs
  • Webhooks - Trigger from any webhook
  • Dashboard - Monitor all runs with logs
  • Self-Hostable - Run on your own infrastructure

Quick Start

import { task } from '@trigger.dev/sdk/v3'

export const processCSV = task({
  id: 'process-csv',
  run: async (payload: { fileUrl: string }) => {
    const data = await fetch(payload.fileUrl)
    // Process for hours if needed
    for (const row of rows) {
      await processRow(row)
    }
    return { processed: rows.length }
  },
})
Enter fullscreen mode Exit fullscreen mode

Website: trigger.dev - 50K runs/month free


Need to monitor and scrape data from multiple web services automatically? I build custom scraping solutions. Check out my web scraping toolkit or email me at spinov001@gmail.com for a tailored solution.

Top comments (0)