Selaa lähdekoodia

add cron script; fix run-web.sh

nagadomi 10 vuotta sitten
vanhempi
commit
43614f46af
3 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 0 0
      appendix/purge_cache.lua
  2. 5 0
      appendix/purge_cache.sh
  3. 0 0
      appendix/run-web.sh

+ 0 - 0
appendix/cache_cleaner.lua → appendix/purge_cache.lua


+ 5 - 0
appendix/purge_cache.sh

@@ -0,0 +1,5 @@
+#!/bin/zsh
+# cron script for purge cache
+source /home/ubuntu/.zshrc
+cd /home/ubuntu/waifu2x
+th appendix/purge_cache.lua

+ 0 - 0
appendix/run-web.sh