php退款脚本和系统定时扫描

<?php
header("Content-type: text/html; charset=utf-8"); 
ini_set('display_errors',1);            //错误信息
ini_set('display_startup_errors',1);    //php启动错误信息
error_reporting(-1);	
require_once 'config.php';
require_once 'db.php';
require_once "AlidayuMessage/msgTest.php";
date_default_timezone_set('Asia/Shanghai');

update_orderState_refund();



 
/***36小时不接单***/
function update_orderState_refund(){
	
}


?>

定时脚本:var/spool/cron/root

0 5 * * * cd /alidata/www/www/xxx/xxx/xxx.php

猜你喜欢

转载自blog.csdn.net/qq_21119773/article/details/54706015