We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d63a22a commit 4acc37eCopy full SHA for 4acc37e
tasks.py
@@ -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