113 Cron Jobs: Automating a Whole Business on One Linux VPS

Zak
Published

0
  • Project creator

The problem

Running an online business means the same tasks come back every single day: publish content, answer customers, post to social, check what broke overnight, report on what sold. Do it by hand and it eats the week.

What I built

A single Linux VPS running 113 scheduled jobs, written mostly in Python, that handle all of it without me:

  • Content: an SEO video built and published to YouTube every day - product data pulled from WooCommerce, script and metadata written, 15 slides rendered, voice-over generated, assembled with ffmpeg, uploaded. 61 videos live.
  • Social: Pinterest, Instagram, Facebook, LinkedIn and X posts scheduled and published, each one logged so the published URL can be reused later
  • Customer service: incoming messages drafted for review every 15 minutes
  • Monitoring and reporting: indexation, rankings, sales, error alerts pushed to Telegram
  • Infrastructure: Docker, Nginx, SSL renewal, automated backups, a mail server

How it holds up

The interesting part of automation is not the happy path, it is what happens when something fails at 3am. Every job that walks a queue advances its cursor even when a step fails, so one bad item can never block the pipeline - a lesson learned the hard way when a single malformed product froze the video queue for five days.

Every field sent to an external API goes through a sanitiser first, because APIs reject the whole request for one bad character or one byte over a limit.

What I can do with this for you

If a repetitive task is eating your week - reports, publishing, data entry, syncing two systems that do not talk - it can usually be turned into a scheduled job that just runs. Written in plain Python, on your server or mine, documented so you are not locked in.