Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit 58a9f7d

Browse files
committed
Log email page to track cron problems with sending daily email.
1 parent c1ff45e commit 58a9f7d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

email.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
*/
1010

1111
require_once 'config.php';
12+
$date = date('r') . "\n";
13+
$fp = fopen('email_log', 'a');
14+
fwrite($fp, 'Date: ' . $date);
15+
fclose($fp);
1216
$email = new email;
1317
$email->send_email();
1418
?>

email_log

Whitespace-only changes.

0 commit comments

Comments
 (0)