Note: In order to run the Sugar schedulers, create a batch file to run using Windows Scheduled Tasks. The batch file should include the following commands:
cd E:\web\nbcrm\web
php.exe -f cron.php
If your host does not have the PHP binary available, you can use wget or curl to launch your Jobs.
for wget: * * * * * wget --quiet --non-verbose http://crm.***.com/cron.php > /dev/null 2>&1
for curl: * * * * * curl --silent http://crm.***.com/cron.php > /dev/null 2>&1要我做什么?弄个任务?定时执行?多久执行一次?
cd E:\web\nbcrm\web
php.exe -f cron.php
If your host does not have the PHP binary available, you can use wget or curl to launch your Jobs.
for wget: * * * * * wget --quiet --non-verbose http://crm.***.com/cron.php > /dev/null 2>&1
for curl: * * * * * curl --silent http://crm.***.com/cron.php > /dev/null 2>&1要我做什么?弄个任务?定时执行?多久执行一次?
cd E:\web\nbcrm\web
php.exe -f cron.php 如果你的主机没有可用的PHP二进制文件,可以使用wget或卷曲启动你们的工作。
for wget: * * * * * wget --quiet --non-verbose http://crm.***.com/cron.php > /dev/null 2>&1
for curl: * * * * * curl --silent http://crm.***.com/cron.php > /dev/null 2>&1