easox
easox

Reputation: 153

I want to run a python script periodically (every 10 minutes). What options do I have?

Basically, I want this script to be able to run regardless of if my computer is on or off. What would be a good approach? I have thought of using a Raspberry pi, and maybe AWS would allow this as well.

Upvotes: 0

Views: 336

Answers (2)

laserany
laserany

Reputation: 1451

You can run a scheduled event using AWS lambda.

Documentation on how to do that:

https://docs.aws.amazon.com/lambda/latest/dg/services-cloudwatchevents-tutorial.html

Upvotes: 1

I. Shm
I. Shm

Reputation: 183

You can use cronjobs for that. See https://www.raspberrypi.org/documentation/linux/usage/cron.md

Upvotes: 0

Related Questions