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
Figure 1. cron directory
4.put your execute script in this folder and add it to jobs.allow
沒有留言:
張貼留言