Jelajahi Sumber

add cron script; fix run-web.sh

nagadomi 10 tahun lalu
induk
melakukan
43614f46af
3 mengubah file dengan 5 tambahan dan 0 penghapusan
  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