25 lines
600 B
Python
25 lines
600 B
Python
# _ __________________
|
|
# | | / / _/ ____/ _/ /
|
|
# | | / // // / __ / // /
|
|
# | |/ // // /_/ // // /___
|
|
# |___/___/\____/___/_____/
|
|
# © Uthmn 2025 under MIT license
|
|
|
|
import time
|
|
|
|
import services.apt
|
|
import services.mail
|
|
|
|
from dotenv import load_dotenv
|
|
from os import getenv
|
|
from os.path import dirname, join
|
|
|
|
# Load environment variables from .env file
|
|
dotenv_path = join(dirname(__file__), ".env")
|
|
load_dotenv(dotenv_path)
|
|
|
|
# TODO: Flag --now to run temporarily and just execute hourly tasks instantly then exit
|
|
# TODO: Logging
|
|
# TODO: Email alerts + structure
|
|
# TODO: Use typer for CLI
|