CC-2463:Install doesn't overwrite cron file
-fixed
This commit is contained in:
parent
0111fd5725
commit
3306292f93
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue