Skip to content

Commit 4acc37e

Browse files
committed
Adding tasks.py from ccs3.
1 parent d63a22a commit 4acc37e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tasks.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from invoke import task
2+
3+
from c4d_utils.jobs import CronJob
4+
5+
6+
@task
7+
def fetch_crowdtangle(c, config):
8+
with CronJob(c, venv='crowdtangle/venv') as j:
9+
j.run_python(f'-m crowdtangle.run_fetch_crowdtangle --config_path {config} --runner DirectRunner --direct_num_workers=0 --direct_running_mode=multi_threading')

0 commit comments

Comments
 (0)