這里會(huì)顯示出您選擇的修訂版和當(dāng)前版本之間的差別。
兩側(cè)同時(shí)換到之前的修訂記錄 前一修訂版 后一修訂版 | 前一修訂版 | ||
razor:auto-archiving [2015/03/20 14:23] cobub |
razor:auto-archiving [2017/07/14 11:18] (當(dāng)前版本) |
||
---|---|---|---|
行 1: | 行 1: | ||
+ | ~~Title:Cobub Razor定時(shí)任務(wù) - 開源移動(dòng)應(yīng)用運(yùn)營平臺(tái) - 移動(dòng)統(tǒng)計(jì)、移動(dòng)推送解決方案 - Cobub 移動(dòng)開發(fā)者中心~~ | ||
+ | {{description>在Cobub Razor中,必須在服務(wù)器上設(shè)置一個(gè)定時(shí)任務(wù),這樣數(shù)據(jù)可以自動(dòng)從工廠數(shù)據(jù)庫轉(zhuǎn)到數(shù)據(jù)倉庫進(jìn)行處理。所有的移動(dòng)應(yīng)用統(tǒng)計(jì)分析報(bào)表數(shù)據(jù)來自于數(shù)據(jù)倉庫。為了自動(dòng)觸發(fā)Cobub Razor任務(wù),用戶可以設(shè)置一個(gè)腳本執(zhí)行任務(wù)計(jì)劃}} | ||
+ | {{keywords>Cobub Razor,開源移動(dòng)應(yīng)用分析,移動(dòng)分析,移動(dòng)應(yīng)用分析,定時(shí)任務(wù)}} | ||
====== 定時(shí)任務(wù) ====== | ====== 定時(shí)任務(wù) ====== | ||
+ | |||
====== 1 概述 ====== | ====== 1 概述 ====== | ||
行 102: | 行 106: | ||
- | 要打開Windows (XP, 7, 2003/2008 服務(wù)器)上的任務(wù)計(jì)劃,單擊所有程序,附件,系統(tǒng)工具,然后點(diǎn)擊任務(wù)計(jì)劃。 | + | 要打開Windows (XP, 7, 2003/2008 服務(wù)器)上的任務(wù)計(jì)劃,單擊所有程序,附件,系統(tǒng)工具,然后點(diǎn)擊任務(wù)計(jì)劃程序。 |
- | 點(diǎn)擊‘增加任務(wù)計(jì)劃’并為任務(wù)命名,例如,”Razor Hourly Archive”。計(jì)劃任務(wù)如下所示。? | + | 點(diǎn)擊‘操作’,‘創(chuàng)建基本任務(wù)’并為任務(wù)命名,例如,”Razor Hourly Archive”。計(jì)劃任務(wù)如下所示。? |
- | {{:razor:20150317-065722.png}} | + | {{:razor:201508180.png}} |
===== 3.2 定時(shí)任務(wù)配置 ===== | ===== 3.2 定時(shí)任務(wù)配置 ===== | ||
行 113: | 行 117: | ||
- | php “D:\xampp\htdocs\razor\index.php”archive archiveHourly | + | php “? |
+ | D:\xampp\htdocs\razor\web\index.php”archive archiveHourly | ||
- | 如 果php.exe已經(jīng)添加到系統(tǒng)環(huán)境變量的PATH下,則第一個(gè)參數(shù)只需寫成php,如果php.exe還沒添加到環(huán)境變量下,請(qǐng)?zhí)顚懫渌诘脑敿?xì)路徑, 例如,D:\xampp\php\php.exe。”D:\xampp\htdocs\razor\index.php”是Cobub Razor在服務(wù)器上的目錄,archive和archiveHourly是定時(shí)任務(wù)執(zhí)行時(shí)需要的參數(shù)。? | + | 如 果php.exe已經(jīng)添加到系統(tǒng)環(huán)境變量的PATH下,則第一個(gè)參數(shù)只需寫成php,如果php.exe還沒添加到環(huán)境變量下,請(qǐng)?zhí)顚懫渌诘脑敿?xì)路徑, 例如,D:\xampp\php\php.exe。”D:\xampp\htdocs\razor\web\index.php”是Cobub Razor在服務(wù)器上的目錄,archive和archiveHourly是定時(shí)任務(wù)執(zhí)行時(shí)需要的參數(shù)。? |
- | {{:razor:20150317-065805.png}}? | + | ? |
- | {{:razor:20150317-065821.png}} | + | {{:razor:201508181.png}}? |
+ | {{:razor:201508182.png}} | ||
==== 2. 每周數(shù)據(jù)存檔 ==== | ==== 2. 每周數(shù)據(jù)存檔 ==== | ||
- | php “D:\xampp\htdocs\razor\index.php” archive archiveWeekly? | + | php “D:\x? |
- | {{:razor:20150317-065857.png}} | + | ampp\htdocs\razor\web\index.php” archive archiveWeekly? |
+ | ? | ||
+ | {{:razor:201508183.png}} | ||
==== 3. 每月數(shù)據(jù)存檔 ==== | ==== 3. 每月數(shù)據(jù)存檔 ==== | ||
- | php “D:\xampp\htdocs\razor\index.php”archive archiveMonthly? | + | php “D:\x? |
- | {{:razor:20150317-065934.png}} | + | ampp\htdocs\razor\web\index.php”archive archiveMonthly? |
+ | ? | ||
+ | {{:razor:201508184.png}} | ||
==== 4. 遲來數(shù)據(jù)存檔 ==== | ==== 4. 遲來數(shù)據(jù)存檔 ==== | ||
- | php “D:\xampp\htdocs\razor\index.php” archive archiveLaterData? | + | php “D:\x? |
- | {{:razor:20150317-070006.png}} | + | ampp\htdocs\razor\web\index.php” archive archiveLaterData? |
+ | ? | ||
+ | {{:razor:201508185.png}} | ||
==== 5. 每天數(shù)據(jù)存檔 ==== | ==== 5. 每天數(shù)據(jù)存檔 ==== | ||
- | php “D:\xampp\htdocs\razor\index.php” archive archiveUsingLog? | + | php “D:\x? |
- | {{:razor:20150317-070117.png}} | + | ampp\htdocs\razor\web\index.php” archive archiveUsingLog? |
+ | ? | ||
+ | {{:razor:201508186.png}} | ||
====== 4 Web 定時(shí)任務(wù) ====== | ====== 4 Web 定時(shí)任務(wù) ====== | ||
- | 如果可以在服務(wù)器上做定時(shí)任務(wù),我們極力推薦用戶運(yùn)行定時(shí)任務(wù)或任務(wù)計(jì)劃。但是,在某些共享主機(jī)或特殊配置的服務(wù)器上,不允許運(yùn)行定時(shí)任務(wù) 或任務(wù)計(jì)劃。 | + | 如果可? |
+ | 以在服務(wù)器上做定時(shí)任務(wù),我們極力推薦用戶運(yùn)行定時(shí)任務(wù)或任務(wù)計(jì)劃。但是,在某些共享主機(jī)或特殊配置的服務(wù)器上,不允許運(yùn)行定時(shí)任務(wù) 或任務(wù)計(jì)劃。 | ||
某些web主機(jī)允許設(shè)置web 定時(shí)任務(wù),主機(jī)會(huì)在預(yù)定時(shí)間自動(dòng)訪問這個(gè)簡單的URL。如果想使用web 定時(shí)任務(wù),可以在主機(jī)界面輸入一下URL 。 | 某些web主機(jī)允許設(shè)置web 定時(shí)任務(wù),主機(jī)會(huì)在預(yù)定時(shí)間自動(dòng)訪問這個(gè)簡單的URL。如果想使用web 定時(shí)任務(wù),可以在主機(jī)界面輸入一下URL 。 |