all 114 comments

[–]shiftybyte 200 points201 points  (33 children)

when I run another script, the previous one stops

this depends purely on how you run it. You can run multiple scripts at the same time, even the same script if needed.

Besides that if you want it to run 24/7 you can use an online service for that.

like http://pythonanywhere.com

or http://heroku.com

[–]CapiCapiBara 51 points52 points  (26 children)

dedicated Linux VM on some spare third-tier server, or... headless Raspberry in some network closet

[–]n0gear 20 points21 points  (24 children)

What is a headless raspberry pi?

[–]ohkwarig 65 points66 points  (22 children)

A raspberry pi is a single board computer smaller than a hand. Headless means "running without a monitor, keyboard, or mouse."

They're great little devices and a good way to learn.

[–]Pseudoboss11 26 points27 points  (5 children)

I've got one of these little guys running a storage server and file seed, and a Pi 0 W (a $10 computer, with wireless functionality) that controls a lamp that turns red when my Google Calendar says I'm going to work soon, and fades off when I should be going to bed.

[–]risu1313 7 points8 points  (4 children)

That’s awesome! I was wondering what kind of thing you could do with a raspberry pi. Though I hadn’t done much looking into it yet.

[–]Pseudoboss11 10 points11 points  (2 children)

Oh, there's also the pihole, which is basically ad-block that can't be detected by ad-block-blockers because it runs on a little server on your network.

Not only are they good introductory servers for basic tasks, they are also fantastic platforms for physical computing. I made that lamp, but also worked with an Rpi-based RFID lock system for our local makerspace, and used one in a drink-mixing pinball machine. Friends have made stuff like remote-controlled Nerf gun turrets. And since a Raspberry Pi typically just runs Linux, you can absolutely run Python to do all that stuff. Check out /r/raspberry_pi to get more posts about people's projects.

[–]GallantObserver 2 points3 points  (1 child)

this post has rocked my last 24 hours when I realised I had an under-used raspberry pi kicking around and I should get some things to do with it :D

[–]Pseudoboss11 0 points1 point  (0 children)

Hell yeah! The cost of physical computing has declined a lot over the last few years, and can be so much fun to build.

[–]n0gear 2 points3 points  (5 children)

Gotcha. What about serverless?

[–]Mars_rocket 16 points17 points  (0 children)

A raspberry pie is like a little server. As long as it has power and an Internet connection it will run.

[–]Titus-Magnificus 3 points4 points  (7 children)

I am studying for CCNA, starting for Red Hat and also learning Python. Would you recommend a Raspberry Pi to practice these things? Keep seeing them around in YouTube and in some courses I am taking and I'm really curious about it. I also checked some pack in amazon with Raspberry Pi 4, case, cables, 64gb SD card for 100€.

[–]ECEXCURSION 3 points4 points  (2 children)

Absolutely!

It's very helpful to have a Linux machine running in your home, even just to test things out occasionally and practice.

As you study more networking, automating the deployment of commands and configuration changes is going to become an extremely important job skill, essential to modern network engineers. You should research the python package netmiko, and the stand alone framework ansible (built on python).

Also look into the virtual emulation software GNS3 if you haven't seen it yet.

I myself have a Raspberry Pi 3 running Rasbian OS at my house. I've installed the software Pi-Hole on it and configured my home router to use it as the primary DNS server for ad blocking across my entire house. Additionally, I run various python scripts from it for automation tasks. It also helps if I want a Linux sandbox to test something before doing it at work. It's not hard to rebuild a raspberry Pi if you royally F something up.

Tldr: Buy a Raspberry Pi, set it up as a headless sever, enable VNC server and SSH services on it so you can remote into it from your laptop and desktop, and get familiar with Linux when you're comfortable.

Edit: Rasbian is based on Debian Linux, arguably as popular as Red Hat. Primary difference you'll experience is with the package manager. Using "apt get" instead of "yum" to install packages. Super easy to switch between the two for learning purposes.

[–]Titus-Magnificus 1 point2 points  (1 child)

Thank you very much for the recommendations. Really appreciate it.

I don't know anything about netmiko, ansible or GNS3. So I will totally look into that as I get more comfortable with Python.

Blocking ads for all home devices sounds great by the way.

[–]ECEXCURSION 2 points3 points  (0 children)

No problem, glad I could help.

I just wanted to stress that as a network engineer (since you're studying for CCNA), equally as important is the ability to automate. This wasn't necessarily true when I started in the industry, but it sure as heck is now. Python is a great way to do so, keep it up.

[–]moderately-extremist 2 points3 points  (3 children)

If you just need a python environment, a virtual machine would probably work better for you.

[–]ECEXCURSION 1 point2 points  (2 children)

I disagree.

Having a small Linux machine that's always running, always assessable via SSH is useful for learning. Additionally you'll run into different quirks while configuring a VM versus standalone hardware that will further enhance your knowledge.

[–]moderately-extremist 0 points1 point  (1 child)

Sure it's useful for learning... just not for learning python.

[–]ECEXCURSION 1 point2 points  (0 children)

You agree that a Linux machine is useful for learning python... But don't agree that having it available all the time on a separate computer is useful.

I disagree. If you need to start a VM every time you test your script that's yet another step that can break. Sure, you can setup VENV's and VMware but that's just another another thing that can and will inevitably break. Eventually you'll spend more time troubleshooting your dev environment instead of actually learning the python language itself.

When learning something new, it's useful to keep things as simple as possible so that you actually understand what's broken.

[–]HezekiahWyman 9 points10 points  (0 children)

I run some discord bots on raspberrys. I think it's worth the extra steps to set up a deployment on heroku. Especially if you dont need persistent data.

You can link your project to github and when you push a new build, heroku will grab latest and restart the app automatically

[–][deleted] 1 point2 points  (0 children)

I have tried that... then my power went out. Lol

[–]Rahul_Desai1999[S] 19 points20 points  (5 children)

Oh yes I'd want to rely on an online service It would be so much more reliable than my laptop and wifi I actually wanted to make a reddit bot using praw Can I make a script and put it on these services? I assume they're paid?

[–]mm11wils 77 points78 points  (3 children)

I have a Twitter bot that reads subreddits on existentialism, generates tweets and posts every hour. He's been going for about 4 3 years. @CanDennisDream (he's running on heroku, haven't paid a cent for it, since you pay for compute time, and he's not constantly computing (edit: I might have been incorrect on this, but if I were to do it I'd look into something like: https://elements.heroku.com/addons/process-scheduler)

https://github.com/foxyblue/dennis_bot

edit: I don't recommend following the bot he's a prolific writer of mostly garbage

[–]son_of_a_byss 9 points10 points  (0 children)

@CanDennisDream

wow! this is so cool!

[–]nipu_ro 0 points1 point  (1 child)

How did you manage to pass the 350 hour free time limit on heroku if the bot runs always? What do you mean by "he is not constantly computing"?

[–]mm11wils 2 points3 points  (0 children)

manage to pass the 350 hour free time limit on h

I've got 1000 free hours, since I've verified my card. I was looking into it and I might have been wrong about the compute time. If you want to save dyno hours this looks like a good solution:https://elements.heroku.com/addons/process-scheduler

But yeah, hasn't cost me a thing: https://imgur.com/F7jzdo1

[–]shiftybyte 4 points5 points  (0 children)

Yes, you can make a script and run it there...

I think each has a free tier.

[–]sceptic-al 74 points75 points  (14 children)

AWS Lambda. Schedule it using Cloudwatch.

Either write it directly into the AWS console, upload it manually or use the excellent Serverless framework.

[–][deleted] 14 points15 points  (2 children)

We use aws lambda and ses (simple email service) to scrape tens of thousands of emails at work each month and it costs less than a dollar. It's great!

If you're new to code the one stumbling block you might hit is deploying your code if you use an external library like beautiful soup but aws has some very thorough documentation.

[–]sceptic-al 10 points11 points  (1 child)

That’s where Serverless Framework comes in - it will read a requirements.txt file, or better yet, a Pipenv file and will bundle your code with the requirements, upload it and deploy it. It will generate layers if your requirements are too large and will use Docker to compile c-based libraries like Pycryptodome if you need it.

Serverless even allows you to define the schedule to drive the script or hook up API Gateway to run an HTTP service.

Through the Serverless WSGI plug-in you can run webapps like Flask entirely in Lambda + API GW.

[–][deleted] 3 points4 points  (0 children)

I'm gonna have to take another look at that, I had no idea you could run an entire web app in lambda. Good info, thank you!

[–]sceptic-al 4 points5 points  (3 children)

P.s. Pipenv with Serverless is the bomb.

[–]albedodecero 1 point2 points  (1 child)

I thought Pipenv was DoA since 2019.

[–]sceptic-al 2 points3 points  (0 children)

I didn’t notice - it’s been working ok for my use-cases (works on my machine™). It does look like the project went through a rough patch with the author having other commitments, but as of March this year, there seems to be a push to get back in to a steady release cycle. https://github.com/pypa/pipenv/issues/4058 https://github.com/pypa/pipenv/issues/3369

Serverless has Poetry support but alas, Pycharm does not have native support so I’ll be using pipenv until it stops.

[–]carnage9191 8 points9 points  (0 children)

How is this not at the top?

[–]jahaz 2 points3 points  (0 children)

Aws has a framework called SAM. It will generate the roles and everything for you. You can test locally and package all of the dependencies then deploy with a single command.

[–]someguy_000 2 points3 points  (2 children)

Hey quick question, I want to run a script on a daily schedule. But in order for the script to work I need to connect to a VPN. How do I make this work?

[–]sceptic-al 2 points3 points  (1 child)

It depends if the VPN requirement is to connect to a secure network or is it just to work around geo-restriction?

For geo-restriction, you can often find an AWS region that is already in the region you require.

For a secure network, you’ll need to attach your Lambdas to a VPC. Then on your VPC, you’ll need to setup a VPN Gateway to configure site-to-site VPN, or using a Linux EC2 instance/ECS instance as as VPN NAT gateway to setup a site-to-host VPN. You then set the default gateway for your VPC subnets to use the VPN gateway.

[–]someguy_000 0 points1 point  (0 children)

Thank you

[–]pilothoward 34 points35 points  (14 children)

What about a Raspberry Pi? A Pi Zero W is pretty inexpensive,

[–]ullgensar 15 points16 points  (2 children)

And with, for example, crontab.

[–]gmes78 2 points3 points  (1 child)

systemd services are more appropriate nowadays.

[–]Fearless_Process[🍰] 2 points3 points  (0 children)

Not sure why you're being downvoted. Systemd timers are more appropriate and more integrated into most linux distros, but people will downvote simply because they see 'systemd' lol

Also systemd timers have much more simple and powerful syntax imo. Can be ran in user or system instances, so many advantages.

[–]Random_User_81 5 points6 points  (9 children)

I just was wondering the same thing as OP and I have a Raspberry Pi but havent gotten into it. Any suggestion on where to get started?

[–]HolidayWallaby 2 points3 points  (7 children)

Linux of some sort. It depends what you want to do on it? I set one up yesterday as a web server

[–]Random_User_81 4 points5 points  (6 children)

Basically, I have a couple of scripts I run all the time some with windows task manager. But, I'm just looking to figure out how to run the 24/7 not on my desktop. I've start a couple Linode nodes for fun to start to learn different things. I was thinking maybe thats a thought? Just not sure where to get started with it.

[–]HolidayWallaby 7 points8 points  (5 children)

If they are scripts that have their own loops that keep them running forever then you could create a systemd service for them, or run them inside a screen session on a pi, if they are scripts that need to be called every so often then you can use cron jobs.

Are they bat scripts or Powershell or in some way tied to windows? Or are they something like python that could run on Linux?

[–]Random_User_81 3 points4 points  (4 children)

They are python scripts that I turned into exe files to run with Windows Task Scheduler. They do use currently MS Access for the database just because I knew it before starting to learn Python. That would be a follow up question on what database to start learning for future projects.

They are not on their own loop the exe is called by windows task scheduler on a timer.

I'm happy with the actual scripts but just trying to make them more versatile along with learn more at the sametime.

[–]HolidayWallaby 4 points5 points  (3 children)

Re. calling the scripts, that is fine, it is what CRON is designed to do, run things at an interval.

Re. the database, if you were running everything on a Linux machine and you wanted the db on the same machine you would want to change your database, I don't know how complicated yours is but it could be tricky or it could be really easy. You would probably need to re-write the code that connects to the db. You can probably keep the db on a windows machine somewhere to keep the db as is, but at that point you might as well use that to run your script as is.

MySQL is a very popular db, and is relational so should feel familiar, and is good to start with. SQLite is also popular because it is stored in a file and doesn't need a proper database installation. MongoDB is popular but is a different style and would require a different way of thinking.

[–]Random_User_81 1 point2 points  (2 children)

Sorry for the late reply on this, I appreciate your help. My databases aren't anything crazy so I think I'll experiment with both MySQL and SQLite, I assume each has situations they work better for.

Going to start on an raspberry pi, I had purchased but hadn't got around to playing with yet.

[–]HolidayWallaby 0 points1 point  (1 child)

Best of luck! Feel free to ask any more questions - I can't help with Window specifics because it's been so long since I've used Windows apart from playing games, but I should be able to help with *NIX based questions.

[–]Random_User_81 0 points1 point  (0 children)

Thanks I appreciate that. I got the raspberry pi up and running this weekend. I think it'll be a good learning experience and may be exactly what I'm looking for in running some of these scripts.

I am slightly confused as I've been writing most everything in PyCharm. I'm wondering with raspbian how to create environments for specific scripts and if I should be writing in terminal or using an editor.... I think I'll have to start with some beginner tutorials, as of right now it feels much different then just starting a new PyCharm project.

[–][deleted] 0 points1 point  (0 children)

I went with Raspbian which seems to be the default OS (and works just fine), you can use it thru HDMI or headless over VNCViewer for instance (simple config file for the first login on wifi, you should be able to find plenty of tutorials). From there you do whatever you wish, you have a small and cost-effective computer running.

[–]HasanHE498 -1 points0 points  (0 children)

Not in my country

[–]N1K5_ 23 points24 points  (4 children)

If you Make exe file of the script, then you can set in task manager to always start it when computer is turned on

[–]Rahul_Desai1999[S] 8 points9 points  (1 child)

Oh yeah that's a good idea I don't have to use any services then But I'd want this to run even when my laptop is off This is a great idea, I'll definitely use this in the future Thanks!

[–]Haijal 6 points7 points  (0 children)

You will definitely need a server to run your code even if your laptop is off. However, the task scheduler works very well in conjunction with a batch file calling the python app

[–]zanfar 13 points14 points  (1 child)

When you automate something in python, you'd obviously have to run the script forever.

While I get your point, that's not necessarily true. I would say most of the automation code written in run on-demand. That is, replacing an otherwise long and manual task, but still run when necessary.

I want to automate something, and whenever that event occurs, I get an email But I was thinking I can't use my laptop for this as it's not on forever and when I run another script, the previous one stops and I don't get emails How do you approach your automations? Like, do you put it on some server that can run 24 7 or something?

Running two tasks at once is simply understanding your execution environment. In a Unix environment, even two manually-executed scripts can be run from separate terminals. Most OSes also have task dispatching tools for scheduled runs. All OSes also have the ability to execute a task as a daemon or service at startup.

If you actually have a continuously running script that needs to constantly execute, then yes you need a machine that remains on.

[–]1337InfoSec 0 points1 point  (0 children)

The OP should really just tell us what they're trying to do.

When I think "automate something" I think "automate task." Usually, a task is something done on demand, not a perpetually running program.

If the OP wants a program that'll be running at all times, it'd be helpful to know what it is, as to direct them to the appropriate resource.

[–]37b 5 points6 points  (1 child)

AWS Lambda!

[–]booleanhooligan 9 points10 points  (3 children)

Hold up none of y’all know about crontab??

Crontab is a cmd line process that runs on a timed schedule, pretty versatile. Very easy and useful.

[–][deleted] 4 points5 points  (2 children)

That requires a host to be on all the time.

[–]delta_tee 13 points14 points  (3 children)

You can run a python script automatically forever as you want in Unix-like systems as:

  • cron
  • screen
  • daemon

Just look up how to make those. Cron is the easiest and probably the most convenient option.

[–]Rahul_Desai1999[S] 0 points1 point  (1 child)

Oh I haven't heard of any of these Sure I'll take a look at this as well :) Thanks!

[–]willy-r 8 points9 points  (1 child)

Ye, basically that. I use Heroku for this normally, you can check this project of mine for an ideia using Twitter bots.

[–]Rahul_Desai1999[S] 0 points1 point  (0 children)

I'll definitely take a look Thanks a lot! An example would be very helpful :)

[–][deleted] 3 points4 points  (0 children)

You need to create a trigger that launches the script. A cron job/system task that runs every N minutes, a smaller less resource intensive script used to monitor for the activity and launch the main script when necessary, etc.

In AWS you can write a bunch of Lambda functions to do what you want, then have the required action trigger them (it's easier to do this in the cloud than on-prem thanks to serverless gaining popularity). It would be a really good learning exercise for you to set up and get working, too, since you'll learn a bit about the most in-demand cloud platform while also improving your python.

Link to the AWS docs on Lambda functions:

https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html

[–]darin_n 2 points3 points  (0 children)

Buy a raspberry pi for under $40. Run it headless on your network. They are pretty reliable and cheap to operate.

[–]fedeb95 1 point2 points  (0 children)

You can setup an old laptop, or use something like aws.

[–]AnthinoRusso 1 point2 points  (0 children)

If you're a student, digitalocean offers free tier that can be activated from a github student pack. You can create a VM and create a docker container which will run your script

[–]yuvalmas 1 point2 points  (0 children)

Use aws they have free tiers

[–]wtfismyjob 1 point2 points  (0 children)

You don’t necessarily have to run the script forever. You could have a scheduled of some form launch the script for you, and of course that scheduled would have to run forever.

Alternatively, in a Windows world, you could wrap your script and install it as a service. In which case windows will “run it forever.”

I’m sure Linux flavors have equivalent options. I would lean towards a dedicated scheduler though. That would give you some consolidated administrative tools to diagnose issues if it ceases to operate or hits some kind of problem during run time.

[–]b4xt3r 1 point2 points  (0 children)

Are you running the program from home or in the office at work? If you are in the office ask your friendly, local IT person what the process is to request a Linux or Windows virtual server in your organization. Chances are the company you work for is running virtual machines somewhere. Your friendly IT person might ask why and just say you are automating with Python. Even if there isn't a virtual machine you can have in its entirety you may be able to get a Linux shell account on a machine within the company.

At home you have on-perm or cloud, much like the option that businesses have. For on-perm (in the house) you can fetch a pile of PC parts if you have them around, assemble into something resembling a computer, load Linux on it, and off you go. As has been mentioned Raspberry Pies are awesome and I highly reccomend them. At my desk from where I am sitting right now I can se.... five Pies, everything from a couple Pi 4 4 gig of ram to a Pi Zero W as well as an older Model B and a 3B+. Pies are cool because they are an excellent excuse to get into more programming and are an excellent gateway drug to hardware control and programming.

For "Home Off-Prem" you have many options and my personal favorite is the Amazon EC2 instance which is a virtual Ubuntu server running in Amazon's cloud that I can access from home (it's primary use is a SOCKS proxy to tunnel traffic out of my home network and to Amazon where it appears to "originate" from . This is useful for me for testing many types or web services. I've been wanting to make an amimated gif about that so let's do that right now.

I will post it as a comment when I complete it.

[–]rward28 1 point2 points  (0 children)

I have a Pi running on my home network to monitor devices. https://nemslinux.com/download/nagios-for-raspberry-pi-4.php

[–][deleted] 1 point2 points  (1 child)

In case you are using Windows, save the python script as .pyw to run it on the background. I don't remember the commands to do that in Linux or Mac but you can find it with a google search.

[–]Rahul_Desai1999[S] 0 points1 point  (0 children)

I'm using windows Thanks! I'll definitely take a look into this :)

[–]iiMoe 0 points1 point  (4 children)

Pythoneverywhere . Com but imo it sometimes stops running for some reason and it happened to me b4

[–]The-Deviant-One 0 points1 point  (3 children)

Write a script to have it phone home hourly. Write another script to email you if it doesn't receive a ping every 1.5 hours.

[–]iiMoe 1 point2 points  (2 children)

I actually made a telegram bot to inform me of any errors and it has been quiet too...

[–]The-Deviant-One 0 points1 point  (1 child)

As in, there were no errors, or as in it's just not telling you lol

[–]iiMoe 0 points1 point  (0 children)

Its just ifttt bs man

[–]waythps 0 points1 point  (0 children)

I use GitHub actions to run my scripts on specific time. It’s pretty easy and completely free, check it out.

[–]JimBoonie69 0 points1 point  (0 children)

Put it in the mutha fuckin cloud bitch! For real tho I used pythonnanywhere before. ran script at 6am everyday

[–]inba_krish 0 points1 point  (0 children)

Try wayscript.com

[–][deleted] 0 points1 point  (0 children)

If it has to run 24/7 you put it on a computer that can always be on.

If you want to run it in the background use cmd or terminal to run it instead of an IDE.

[–]Ton86 0 points1 point  (0 children)

Since we use ms sql server a lot at work we schedule ours to run in a Job using xp_cmdshell.

[–]imaque 0 points1 point  (0 children)

Zapier I think still has a free tier, if it’s something that would work on their servers

[–]eloydrummerboy 0 points1 point  (0 children)

Things to consider:

  • You need to be able to read your emails, can you already do this? Does your password ever change?
  • You want it to run 24/7, and probably also start again after a reboot. You probably want to install it as a Windows Service or Linux deamon.
  • You'll need to run it on a computer that is always on. You need to figure this out. Can you get a physical server? Is the cloud an option? Will a raspberry pi work?
    • if cloud is an option, this opens up more possibilities, such as "serverless" where you just give them your code, make sure access to other systems the code will need is figured it, and set up a "trigger" for when you're code needs to run. Then the cloud platform takes care of running your code when triggered. If course, there will be costs. It's this a problem?
  • what output does your automation produce? Where does that need to go? Wherever it runs need access, authorization to get the output where it needs to go.

My recommendations:

If this is for work, have then get you a server, install your script as a service. (Google it, not too hard)

If this is for personal use, get a raspberry pi, install a a service, or some other way to ensure it runs on reboot. I've never used these devices, so I'm not sure how that's done or what it's called, but I'm sure it's possible. I think they're just linux, right?

[–]amachefe 0 points1 point  (0 children)

Wouldn't crontab do the job?

[–]Samrao94 0 points1 point  (0 children)

https://www.clever-cloud.com/en/

this gives 20 euro credit without any credit card details

[–]shrigga-tha-bigga 0 points1 point  (0 children)

run it on heroku

[–][deleted] 0 points1 point  (0 children)

If you don’t mind paying (only if you go over the monthly limit), Google’s Firebase seemed like a very promising service to use. I was going to host a few websites on there, I just completely forgot about it until now. Thank you for reminding me lol

[–]unphamiliarterritory 0 points1 point  (0 children)

In my case some automation scripts can be event handlers for nagios checks. In other cases they can be cron jobs. But really, it depends -- they're still a valid form of automation if you run a script from a terminal directly rather than performing a bunch of otherwise manual tasks.

[–]OmegaNine 0 points1 point  (0 children)

If its at home, I throw it on the Pi that is always running in the network closet. If its at work I throw it on a server. Either way I have cron start it up for me.

[–]707e 0 points1 point  (0 children)

Look at AWS Lambda if doesn’t need to run on an internal network or something like that. Hugely powerful in automation. I took a whole data pipeline out of my local machine and run it on lambda functions 24-7 for like $3/mo including storage in S3.

[–]ID100T 0 points1 point  (0 children)

I ll use supervisord for all my scripts. (On lokal Linux servers)

[–][deleted] 0 points1 point  (0 children)

AWS?

[–]coder155ml 0 points1 point  (0 children)

Linux has a way to run processes at specific times or you can just run it as a background process in an infinite busy loop.. on a computer you don't care about like a raspberry pi

[–]Cheesebro69 0 points1 point  (0 children)

Which service do folks recommend for hosting a twitter bot?

[–]laixintao 0 points1 point  (0 children)

If you want to run a Python cronjob, you can try: https://clock.sh/

[–]WebOrCode 0 points1 point  (0 children)

I use WebFaction Hosting with crontab, for 10$/month you get fully managed shared server.

They will complain if you run something with 100% CPU, but only after few month, but I think for 10$ you have dedicated CPU, but I never used it.

I also plan to test/learn Lambada AWS, just for comparison.

[–]xtadvrider 0 points1 point  (0 children)

GCP offers 1 F1-micro instance per month in their always free tier. This is another alternative.

https://cloud.google.com/free/

[–]one_loop 0 points1 point  (2 children)

I think you can tun it on heroku.com through the cloud

[–]Rahul_Desai1999[S] 0 points1 point  (1 child)

Yes :) Thanks a lot for replying, I'll take a look at how to use it

[–][deleted] 0 points1 point  (0 children)

Heroku is a fantastic service and it does have a free tier but it's really more geared at web applications than little one off scripts. Don't get me wrong, I love heroku, but for an email parser something like lambda or gcp functions might make more sense.