这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 后一修订版 两侧同时换到之后的修订记录 | ||
en:razor:auto-archiving [2015/09/15 13:51] cobub [3.1 Create scheduled tasks] V0.7.2 |
en:razor:auto-archiving [2015/09/15 14:04] cobub V0.7.2 |
||
---|---|---|---|
行 100: | 行 100: | ||
Open “Razor Hourly Archive” task, in the “Task” tab, input following comand in “Run”: | Open “Razor Hourly Archive” task, in the “Task” tab, input following comand in “Run”: | ||
<code>php "D:\xampp\htdocs\razor\web\index.php" archive archiveHourly</code> | <code>php "D:\xampp\htdocs\razor\web\index.php" archive archiveHourly</code> | ||
- | {{:en:razor:20150318-024725.png}} | ||
Every 10 minutes from each hour, this hourly task should be run. This is configured in “Schedule” tab: | Every 10 minutes from each hour, this hourly task should be run. This is configured in “Schedule” tab: | ||
+ | {{:en:razor:20150915002.png}} | ||
+ | {{:en:razor:20150915003.png}} | ||
**2. Weekly Archive Task** | **2. Weekly Archive Task** | ||
行 108: | 行 109: | ||
<code>php "D:\xampp\htdocs\razor\web\index.php" archive archiveWeekly</code> | <code>php "D:\xampp\htdocs\razor\web\index.php" archive archiveWeekly</code> | ||
- | Every week’s 0:20 will start the weekly task: | + | Every week’s 12:20 will start the weekly task: |
- | {{:en:razor:20150318-025208.png}} | + | {{:en:razor:20150915004.png}} |
**3. Monthly Archive Task** | **3. Monthly Archive Task** | ||
行 118: | 行 119: | ||
<code>php "D:\xampp\htdocs\razor\web\index.php" archive archiveMonthly</code> | <code>php "D:\xampp\htdocs\razor\web\index.php" archive archiveMonthly</code> | ||
- | Every month’s 1:20 will start the weekly task: | + | Every month’s 01:20 will start the weekly task: |
- | {{:en:razor:20150318-025316.png}} | + | {{:en:razor:20150915005.png}} |
**4. LaterData Archive Task** | **4. LaterData Archive Task** | ||
<code>php "D:\xampp\htdocs\razor\web\index.php" archive archiveLaterData</code> | <code>php "D:\xampp\htdocs\razor\web\index.php" archive archiveLaterData</code> | ||
- | {{:en:razor:20150318-025420.png}} | + | {{:en:razor:20150915006.png}} |
**5. Daily Archive Task** | **5. Daily Archive Task** | ||
<code>php "c:\xampp\htdocs\razor\web\index.php" archive archiveUsingLog</code> | <code>php "c:\xampp\htdocs\razor\web\index.php" archive archiveUsingLog</code> | ||
- | {{:en:razor:20150318-025520.png}} | + | {{:en:razor:20150915007.png}} |
===== 4 Web Cron ===== | ===== 4 Web Cron ===== | ||
If user can do cron on server, we highly recommend running a cron or scheduled task on it. However, on some shared hosting, or on special server configurations, users are not allowed to run a cron or schedule task. User can find some online web cron service, which is simple URL that the hosts will automatically visit at a scheduled time. If user want use a web cron, please input the following URL in their hosting interface: | If user can do cron on server, we highly recommend running a cron or scheduled task on it. However, on some shared hosting, or on special server configurations, users are not allowed to run a cron or schedule task. User can find some online web cron service, which is simple URL that the hosts will automatically visit at a scheduled time. If user want use a web cron, please input the following URL in their hosting interface: |