diff options
Diffstat (limited to 'intern.gospeladlershof.de/code/erinnerung.php')
| -rw-r--r-- | intern.gospeladlershof.de/code/erinnerung.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/intern.gospeladlershof.de/code/erinnerung.php b/intern.gospeladlershof.de/code/erinnerung.php index b700833..27b9b4b 100644 --- a/intern.gospeladlershof.de/code/erinnerung.php +++ b/intern.gospeladlershof.de/code/erinnerung.php @@ -1,4 +1,8 @@ <?php +/** + * Das Script wird per Cronjob aufgerufen und überprüft, ob noch genügend Proben eingetragen sind. + * Wenn nicht, dann wird per E-Mail daran erinnert. + */ require_once __DIR__ . '/db.php'; require_once __DIR__ . '/../vendor/autoload.php'; @@ -38,7 +42,7 @@ if ( $error_msg != "" ) { ->useTube('contactme_mail') ->put(json_encode($data)); } else { - if ( $count_proben <= 3 ) { + if ( $count_proben <= 4 ) { $text_msg = 'Hi Lotte, es sind nur noch ' . $count_proben . ' Proben eingetragen. |
