浏览代码

add cron script; fix run-web.sh

nagadomi 10 年之前
父节点
当前提交
43614f46af
共有 3 个文件被更改,包括 5 次插入0 次删除
  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