简体   繁体   中英

How can i run a python script in cronjob without utilising the full server or ec2 instance?

I have a python script which is suppose to run every minute, i know how to setup a cron for the same on any server, but that will take a full resource in aws like an ec2 instance, is there any other solution, like lambda? or may be something else on AWS?

Yes, you can use AWS Lambda with Scheduled Events .

Write a Python Lambda function and then direct AWS Lambda to execute it on a regular schedule.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM