mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fix for bug #911628: Intall Cron Job Multiple Domain Error
This commit is contained in:
parent
06b80fa3bf
commit
0e943f4c58
@ -661,11 +661,12 @@
|
||||
{
|
||||
foreach ($this->other_cronlines as $cronline)
|
||||
{
|
||||
fwrite($crontab,$cronline); // preserv the other lines
|
||||
fwrite($crontab,$cronline); // preserv the other lines on install
|
||||
}
|
||||
if ($times !== False)
|
||||
{
|
||||
$cron_units = array('min','hour','day','month','dow');
|
||||
$cronline = '';
|
||||
foreach($cron_units as $cu)
|
||||
{
|
||||
$cronline .= (isset($times[$cu]) ? $times[$cu] : '*') . ' ';
|
||||
|
Loading…
Reference in New Issue
Block a user