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

沒有留言:

如何下載Facebook 相簿跟影片

影片:透過chrome plug-in : Video Downloader for Facebook<sup>TM</sup> 相簿: 透過chrome plug-in : Tampermonkey 搭配script : Facebo...