diff --git a/cron b/cron new file mode 100644 index 0000000..c58358c --- /dev/null +++ b/cron @@ -0,0 +1,3 @@ +15 * * * * jsub -once -N column_mover python3 /data/project/phabbot/phabbot/column_mover.py >/dev/null 2>&1 +10 * * * * jsub -once -N patch_for_review python3 /data/project/phabbot/phabbot/patchforreview_remover.py >/dev/null 2>&1 +5 * * * * jsub -once -N updater bash /data/project/phabbot/phabbot/updater.sh >/dev/null 2>&1 diff --git a/updater.sh b/updater.sh new file mode 100644 index 0000000..ed6f01e --- /dev/null +++ b/updater.sh @@ -0,0 +1,3 @@ +cd /data/project/phabbot/phabbot +git pull +cat /data/project/phabbot/phabbot/cron | crontab - \ No newline at end of file