Source: https://linuxhandbook.com/schedule-shutdown/
sudo vim /etc/systemd/system/shutdown.timer[Unit]
Description=Timer to shut down the system| from typing import Generator | |
| import pytest | |
| from sqlalchemy import Engine, create_engine | |
| from sqlalchemy.orm import Session, sessionmaker | |
| from .models import Base | |
| @pytest.fixture(name="engine", scope="session") |
| from typing import AsyncGenerator, Generator | |
| import nats | |
| import pytest | |
| import pytest_asyncio | |
| from testcontainers.nats import NatsContainer | |
| @pytest.fixture(name="nats_container", scope="session") |
| https://github.com/helix-editor/helix/discussions/5912#discussioncomment-4947799 |
Source: https://linuxhandbook.com/schedule-shutdown/
sudo vim /etc/systemd/system/shutdown.timer[Unit]
Description=Timer to shut down the system