diff --git a/src/sh/execute_per_year_isolation.sh b/src/sh/execute_per_year_isolation.sh
new file mode 100755
index 0000000000000000000000000000000000000000..cd3f676b994f05672484e300931c3c452317003a
--- /dev/null
+++ b/src/sh/execute_per_year_isolation.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+# The input variables are:
+# 1 - name of python function to run
+# 2 - folder of the database
+# 3 - name of input file
+# 4 - name of output file
+
+year_start=$5
+year_end=$6
+
+for year in $(seq $year_start $year_end)
+do
+    echo $year
+    $CONDA_DIR/envs/renku/bin/renku run --isolation python $1 ${2}/$year/${3}.tar.gz ${2}/$year/${4}.tar.gz
+done
+