Browse Source

add cron script; fix run-web.sh

nagadomi 10 năm trước cách đây
mục cha
commit
43614f46af
3 tập tin đã thay đổi với 5 bổ sung0 xóa
  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