Add support for numbers with data on scheduled + add support for sending sms to a csv file

This commit is contained in:
osaajani 2022-03-15 02:24:28 +01:00
parent 7fc7a8f245
commit 81fb987740
22 changed files with 635 additions and 114 deletions

View file

@ -58,7 +58,7 @@ class Phone extends AbstractDaemon
{
usleep(0.5 * 1000000); //Micro sleep for perfs
$this->read_tick += 1;
++$this->read_tick;
$this->bdd = \descartes\Model::_connect(DATABASE_HOST, DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD);
@ -155,7 +155,7 @@ class Phone extends AbstractDaemon
continue;
}
$this->logger->info('Successfully send message : ' . json_encode($message));
}
}