How to host a cronjob in 2022

Source: https://news.ycombinator.com/item?id=34056812

  • Modal, although I’m still on the waitlist
  • fly.io, but I need to provide a Dockerfile and a schedule
  • Github Actions, but I would need to a) create a repo for no reason, create a workflow, and keep committing to that repo
  • If you are comfortable using AWS, You could us AWS Batch (free) with Spot Fargate jobs with Cloudwatch cron as the trigger . You only pay for the vcpu hours your job consumes https://aws.amazon.com/fargate/pricing/ , it’s a set it up once and forget it model.
  • I’m not sure what you mean when you say there is no easy solution… procure a small vm on Linode or your choice of provider for like $20/mo. SSH into it, set up the crontab to run your web scraping script. I could literally have that set up and running in 15 minutes flat.”
    • LMAO
  • https://workers.cloudflare.com/
  • GCP Cloud Run with a schedule set to call the HTTP endpoint once an hour.
  • Linux DigitalOcean server
  • cron-job.org, but it needs me to already have an HTTP endpoint
  • render.com
  • https://airplane.dev <— this is the one that I’m going to try
  • Raspberry PI! This would be cool to try sometime
  • Retool workflows - Retool Workflows
  • https://repeat.dev.
  • Wow, there’s so many tools in this workspace

uid: 202301020315 tags: #inbox


Date
February 22, 2023