2013年11月28日 星期四

[openshift] use cron



先到 console 加入一個 cron cartridge
在到
.openshift/cron]{16:54}
$ tree
.
├── README.cron
├── daily
├── hourly
├── minutely
│   └── echodate.sh
├── monthly
└── weekly
├── README
├── chrono.dat
├── chronograph
├── jobs.allow
└── jobs.deny

每個目錄下加入想要定時執行的 shell script

Getting Started with CRON Jobs on OpenShift | OpenShift by Red Hat
https://www.openshift.com/videos/getting-started-with-cron-jobs-on-openshift

Getting Started with CRON Jobs on OpenShift | OpenShift by Red Hat
https://www.openshift.com/blogs/getting-started-with-cron-jobs-on-openshift


沒有留言:

張貼留言