CC-2463:Install doesn't overwrite cron file

-fixed
This commit is contained in:
james 2011-06-28 12:26:34 -04:00
parent 0111fd5725
commit 3306292f93
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ AirtimeInstall::CreateZendPhpLogFile();
$hour = rand(0,23);
$minute = rand(0,59);
$fp = fopen('/etc/cron.d/airtime-crons','a');
$fp = fopen('/etc/cron.d/airtime-crons','w');
fwrite($fp, "$minute $hour * * * root /usr/lib/airtime/utils/phone_home_stat\n");
fclose($fp);