crontab
1 人追踪
2 篇文章
Phanix

Checkout latest git commit automatically

如果要自動化拿到最後 commit 的 branch (大概只有再 staging/testing server 上有這樣的需求),可以用 git command 加上 shell (sed, grep) crontab 來完成。當然,如果是 gitlab 的話還有 gitlab...

Phanix

定期備份 mysql 資料到其他機器

最理想的方式當然是做 cluster,但是有時候沒這麼理想。比方說最近遇到的例子就是有些機器在 google cloud 上,有些在 aliyun 上,但是從 aliyun 連 google cloud 真的是望眼欲穿,就連反過來從 google cloud 要連 aliyun ...

没有更多