owenrusk.dev

errands

small jobs the runtime does for the studio.

git clone https://owenrusk.dev/errands.git

commit bfb4a11d14011647904bed829932dca7043405ac
parent 8857d64197ccdd68ed2450341503a2ae0a5125b0
author Owen Rusk <owen@papermothgames.com>
date   2025-03-20 16:00:31 -0500
jobs: bills from the inbox, and paying them in the morning
errands/jobs.py+3-1
diff --git a/errands/jobs.py b/errands/jobs.py
index 6a3b82b..761796a 100644
--- a/errands/jobs.py
+++ b/errands/jobs.py
@@ -5,7 +5,7 @@ from dataclasses import dataclass
 from datetime import datetime
 from typing import Callable
 
-from . import hosting, posts
+from . import hosting, invoices, posts
 
 log = logging.getLogger("errands")
 
@@ -20,7 +20,9 @@ class Job:
 
 JOBS = [
     Job("posts", posts.publish_due, every=15),
+    Job("bills", invoices.from_inbox, every=30),
     Job("stillwater", hosting.pay_balance, at="09:00"),
+    Job("invoices", invoices.pay_due, at="09:30"),
 ]