Uploaded image for project: 'Community Development'
  1. Community Development
  2. COMDEV-162

Redirect cronjob standard output to log files

    XMLWordPrintableJSON

    Details

      Description

      At present, the projects.a.o and reporter.a.o cronjob output goes to the www-data mailbox. This is getting quite large, and is not particularly easy to view as all the jobs are in the same file.

      I think it would be more useful to redirect the output to separate log files for each job in separate log directories e.g. under /var/logs.

      This would allow the use of logrotate to manage the log files if required.

      In order to make it easy to check the log files, it might be worth considering making the most recent ones available via the web. I don't think there is any private information in the logs, but this would need to be checked first.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: