|
我在计划任务中是这样写的:
*/5 * * * * apache /usr/bin/php /var/www/html/itop/webservices/cron.php >>/var/log/itop-cron.log 2>&1
好像没有效果
另外,官方文档中所提到的"params.txt"里的所写的用户名及密码:
# This is a parameter file
#
# If a parameter is given both in the file and in the arguments,
# then the value given as argument is retained
#
# Authentication
auth_user = qwertyuiop
auth_pwd = ded!catedL0g1n
# My web service
size_min = 20 # Megabytes
time_limit = 40 # Minutes
这里的用户名是指的是 什么用户名, 是itop的登录用户名吗?
另外在itop的主配置文件正, "itop-backup"部分的内容是这样的:
'itop-backup' => array (
'mysql_bindir' => '',
'week_days' => 'monday, tuesday, wednesday, thursday, friday',
'time' => '23:30',
'retention_count' => 5,
'enabled' => true,
'debug' => false,
),
这里的 "mysql_bindir'应该写什么?
|
|