diff options
| author | horus_arch | 2017-03-07 12:49:51 +0100 |
|---|---|---|
| committer | horus_arch | 2017-03-07 12:49:51 +0100 |
| commit | 86a6756fbc911da8c3917774e5043717c0b0ccdd (patch) | |
| tree | 0e23b8dab0f9e6cfa14a0c4e4ab6c8f0bf81ca34 | |
| parent | 2eb4a7847cb6c8b1a4a8bb7cfd668309c27917e2 (diff) | |
| download | gospeladlershof.de-86a6756fbc911da8c3917774e5043717c0b0ccdd.tar.gz | |
Doku + besserer hit count.
| -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. |
