Ask HN: What's the simplest way to run a cron script on the cloud?
I have a proof-of-concept script that should run once a day. I would prefer to not run a server all day for a one-time job. What's your preferred way to provision something like this on the cloud?
7 comments
[ 2.9 ms ] story [ 29.1 ms ] threadBut it depends on what you already have. I have a side project with a ec2 running node so I just use cron from npm (rather than the os cron) to do the trick and pm2 to keep that node running.
https://cloud.google.com/scheduler
https://docs.aws.amazon.com/lambda/latest/dg/services-cloudw...
Firebase is really easy to get started with so I'd recommend it for prototyping if you're not keen on AWS or Google Cloud.