用户工具

站点工具


差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
en:razor:auto-archiving [2015/09/15 14:05]
cobub V0.7.2
en:razor:auto-archiving [2017/07/14 11:18] (当前版本)
行 91: 行 91:
 To open the task sc To open the task sc
 heduler on Windows (XP, 7, 2003/2008 Server), click All Programs, point to Accessories,​ point to System Tools, and then click Scheduled Tasks. heduler on Windows (XP, 7, 2003/2008 Server), click All Programs, point to Accessories,​ point to System Tools, and then click Scheduled Tasks.
-{{:​en:​razor:​20150318-024303.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}} 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 ====
行 101: 行 101:
 <​code>​php "​D:​\xampp\htdocs\razor\web\index.php"​ archive archiveHourly</​code>​ <​code>​php "​D:​\xampp\htdocs\razor\web\index.php"​ archive archiveHourly</​code>​
 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:​20150915002.png}}
 {{:​en:​razor:​20150915003.png}} {{:​en:​razor:​20150915003.png}}
行 120: 行 121:
  
 Every month’s 01:20 will start the weekly task: Every month’s 01:20 will start the weekly task:
 +
 {{:​en:​razor:​20150915005.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:​20150915006.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:​20150915007.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, ​
 +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:
  
  
en/razor/auto-archiving.1442297116.txt.gz · 最后更改: 2017/07/14 11:12 (外部编辑)