aboutsummaryrefslogtreecommitdiffstats
path: root/config/mailreport/status_mail_report_edit.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-07-19 20:22:18 -0400
committerjim-p <jimp@pfsense.org>2011-07-19 20:22:18 -0400
commit0bb1db3d9de95c9e814ac8a97f89bdadc60b2598 (patch)
treefd5f4bc3d45c1b65d1a7fdcd0ea0d2d8295aff89 /config/mailreport/status_mail_report_edit.php
parentbb1ec6d9f6aa10483d6ca7464518bfe08c5c2a5e (diff)
downloadpfsense-packages-0bb1db3d9de95c9e814ac8a97f89bdadc60b2598.tar.gz
pfsense-packages-0bb1db3d9de95c9e814ac8a97f89bdadc60b2598.tar.bz2
pfsense-packages-0bb1db3d9de95c9e814ac8a97f89bdadc60b2598.zip
Activate cron jobs after saving config.
Diffstat (limited to 'config/mailreport/status_mail_report_edit.php')
-rw-r--r--config/mailreport/status_mail_report_edit.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/mailreport/status_mail_report_edit.php b/config/mailreport/status_mail_report_edit.php
index 36e568f9..fe9a5194 100644
--- a/config/mailreport/status_mail_report_edit.php
+++ b/config/mailreport/status_mail_report_edit.php
@@ -136,8 +136,9 @@ if ($_POST) {
// Fix up cron job(s)
set_mail_report_cron_jobs($a_mailreports);
-
write_config();
+ configure_cron();
+
header("Location: status_mail_report.php");
exit;
}