這里會顯示出您選擇的修訂版和當(dāng)前版本之間的差別。
兩側(cè)同時換到之前的修訂記錄 前一修訂版 后一修訂版 | 前一修訂版 | ||
en:razor:auto-archiving [2015/03/24 14:47] cobub |
en:razor:auto-archiving [2017/07/14 11:18] (當(dāng)前版本) |
||
---|---|---|---|
行 89: | 行 89: | ||
==== 3.1 Create scheduled tasks ==== | ==== 3.1 Create scheduled tasks ==== | ||
- | To open the task scheduler on Windows (XP, 7, 2003/2008 Server), click All Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.? | + | To open the task sc? |
- | {{:en:razor:20150318-024303.png}}? | + | heduler on Windows (XP, 7, 2003/2008 Server), click All Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.? |
- | Click ‘Add Scheduled Task’ and name the task e.g. “Razor Hourly Archive”. Schedule the task as following.{{:en:razor:20150318-024329.png}} | + | {{:en:razor:20150915000.png}}? |
+ | Click ‘Add Scheduled Task’ and name the task e.g. “Razor Hourly Archive”. Schedule the task as following.{{:en:razor:20150915001.png}} | ||
==== 3.2 scheduled tasks settings ==== | ==== 3.2 scheduled tasks settings ==== | ||
- | If php.exe has been added to PATH of System Environment Variable, please use php in the command. Otherwise, please give the detail directory of php.exe, for example, D:\xampp\php\php.exe. For the below instructions, “D:\xampp\htdocs\razor\index.php” is the example directory of Cobub Razor on web server. | + | If php.exe has b? |
+ | een added to PATH of System Environment Variable, please use php in the command. Otherwise, please give the detail directory of php.exe, for example, D:\xampp\php\php.exe. For the below instructions, “D:\xampp\htdocs\razor\index.php” is the example directory of Cobub Razor on web server. | ||
**1. Hourly Archive Task** | **1. Hourly Archive Task** | ||
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\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** | ||
Run | Run | ||
- | <code>php "D:\xampp\htdocs\razor\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** | ||
行 114: | 行 118: | ||
Run: | Run: | ||
- | <code>php "D:\xampp\htdocs\razor\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\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\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, w? |
+ | e 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: | ||