close


先到 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

arrow
arrow
    文章標籤
    openshift cron
    全站熱搜

    peicheng 發表在 痞客邦 留言(0) 人氣()