代码拉取完成,页面将自动刷新
<?php
return array(
'pidfile' => '/tmp/crontab.pid',
'logfile' => '/tmp/crontab.log',
'loglevel' => 2,
'daemonize' => false,
'crontab' => array(
array(//test(守护进程)
'name' => 'test',
'script' => 'daemon/test.php',
'childs' => 1,
'daemon' => 1,
),
array(//test2(每分钟运行一次)
'name' => 'test2',
'script' => 'crontab/test2.php',
'wakeup' => '* * * * *',
),
array(//test3(每五秒运行一次)
'name' => 'test3',
'script' => 'crontab/test3.php',
'wakeup' => '*/5 * * * * *',
),
array(//test4(每天凌晨0点0分运行)
'name' => 'test4',
'script' => 'crontab/test4.php',
'wakeup' => '0 0 * * *',
),
array(//test5(1-30内,每分钟运行一次)
'name' => 'test5',
'script' => 'crontab/test5.php',
'wakeup' => '1-30 * * * *',
),
)
);
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。