2016年7月13日 星期三

1.Add cron cartridge to your app

#rhc cartridge add  cron -a <APP>

2.update your git folder

#cd ~/<APP>
#git pull
#cd .openshift/cron

3.you will see there are fore directory for schedule jobs

Tree view
Figure 1. cron directory

4.put your execute script in this folder and add it to jobs.allow

5.Once doen you can just use "git push" to trigger openshift auto deployment

沒有留言:

demo_article

使用 msty.app 和 Knowledge Stacks 建立個人知識庫系統 說明 嘗試利用local llm自動從文字檔轉成影音檔 利用AI自動對文件檔產生影音檔案 - YouTube 引言 在資訊爆炸的時代,我們每天接收大量的資訊,但如何有效地管理...