This repository has been archived on 2022-09-23. You can view files and clone it, but cannot push or open issues or pull requests.
webdev/api/control/tasks.py

10 lines
312 B
Python
Raw Permalink Normal View History

2022-01-08 10:07:51 +01:00
from datetime import datetime, timezone, timedelta,
### TASKS ###
# def test_task(comms: dict, debug=False):
# timestamp = datetime.now(tz=timezone.utc).strftime("%b %d %Y %H:%M")
# text = "Test Task fired at " + timestamp
# blocks = [make_section(text)]
# process_comms(comms, blocks, debug)