Project

General

Profile

Actions

Bug #5614

closed

mailreport - emails are going out when manually triggered, but not via cron

Added by Eduard Rozenberg over 8 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/08/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
2.2.5
Affected Plus Version:
Affected Architecture:

Description

I've got notification settings properly configured, and added 3 reports in Email Reports, a daily, weekly, montly.

Manually triggering a report to go out works fine, either from gui or cli "/usr/local/bin/mail_reports_generate.php 0"

But reports are not being sent automatically for some reason, have not received a single one. Anything obvious I can check or might be missing?

Preferences:

Here you can define a list of reports to be sent by email.
Description Schedule Commands Logs Graphs
Daily Summary Daily at 00:00 1 1 4
Weekly Summary Weekly, on Sunday at 00:00 1 1 4
Monthly Summary Monthly, on day 1 at 00:00 1 1 4

Crontab:
...
0 * * * root /usr/local/bin/mail_reports_generate.php 0 &
0 * * 0 root /usr/local/bin/mail_reports_generate.php 1 &
0 1 * * root /usr/local/bin/mail_reports_generate.php 2 & #
  1. If possible do not add items to this file manually.
  2. If you do so, this file must be terminated with a blank line (e.g. new line) #
Actions #1

Updated by Jim Pingle over 8 years ago

  • Status changed from New to Feedback

I got one from cron overnight last night, works fine here. Please start a forum thread for discussion.

Actions #2

Updated by Eduard Rozenberg over 8 years ago

Thanks, will work on it later to see what I can figure out.

Actions #3

Updated by Jim Pingle about 7 years ago

  • Status changed from Feedback to Resolved

Unable to reproduce, lack of feedback, closing.

Actions

Also available in: Atom PDF