autotasker/config.yaml

40 lines
770 B
YAML

instance:
name: Example company
logo_uri: https://src.lefuturiste.fr/images/lefuturiste-300-300.png
tasks:
do_magic_stuff:
name: Do magic incantation
env:
PYTHONUNBUFFERED: "1"
SIMULATION_SPEED: 11
command:
- /usr/bin/python3
- /home/mbess/workspace/autotasker/examples/do_something_1.py
reindex_db:
name: Reindex the whole database
env: {}
command:
- ls
- /etc/fstab
schedule:
hours: 1
clean_up:
name: Clean up things
env: {}
command:
- cat
- /etc/environment
# schedule:
# "0 * * * * *"
webhooks:
- id: 1
name: "Trigger magic stuff"
token: 988c19fe-fd5d-4887-8210-60e0dc50ba9e
target_tasks:
- do_magic_stuff
debounce_secs: 10