2024-07-22 18:25:30 +00:00
|
|
|
instance:
|
|
|
|
name: Example company
|
|
|
|
logo_uri: https://src.lefuturiste.fr/images/lefuturiste-300-300.png
|
|
|
|
|
2024-04-27 09:59:43 +00:00
|
|
|
tasks:
|
2024-07-22 18:25:30 +00:00
|
|
|
do_magic_stuff:
|
2024-04-27 09:59:43 +00:00
|
|
|
name: Do magic incantation
|
|
|
|
env:
|
|
|
|
PYTHONUNBUFFERED: "1"
|
|
|
|
SIMULATION_SPEED: 0.2
|
|
|
|
command:
|
|
|
|
- /usr/bin/python3
|
|
|
|
- /home/mbess/workspace/autotasker/examples/do_something_1.py
|
2024-07-22 18:25:30 +00:00
|
|
|
|
|
|
|
reindex_db:
|
2024-04-27 09:59:43 +00:00
|
|
|
name: Reindex the whole database
|
|
|
|
env: {}
|
|
|
|
command:
|
|
|
|
- ls
|
|
|
|
- /etc/fstab
|
2024-07-22 18:25:30 +00:00
|
|
|
schedule:
|
2024-07-23 15:25:22 +00:00
|
|
|
hours: 1
|
2024-07-22 18:25:30 +00:00
|
|
|
|
|
|
|
clean_up:
|
|
|
|
name: Clean up things
|
|
|
|
env: {}
|
|
|
|
command:
|
|
|
|
- cat
|
|
|
|
- /etc/environment
|
2024-07-23 15:25:22 +00:00
|
|
|
# schedule:
|
|
|
|
# "0 * * * * *"
|
2024-04-27 09:59:43 +00:00
|
|
|
|