mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat(docker): add cron service (aurblup + mkpkglists)
Normally, these scripts are used to update official providers in the aurweb database along with archives that can be retrieved. Run both of these scripts in a 5 minute cron job, to both reflect the live instance database and production load. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
338a44839f
commit
4b8963b7ba
5 changed files with 43 additions and 1 deletions
7
docker/scripts/run-cron.sh
Executable file
7
docker/scripts/run-cron.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /aurweb
|
||||
aurweb-aurblup
|
||||
aurweb-mkpkglists
|
||||
|
||||
exec /usr/bin/crond -n
|
Loading…
Add table
Add a link
Reference in a new issue