Configuring cron

Authors:Michael JasonSmith
Contact:Michael JasonSmith <mpj17@onlinegroups.net>
Date:2014-11-17
Organization:GroupServer.org
Copyright:This document is licensed under a Creative Commons Attribution-Share Alike 4.0 International License by OnlineGroups.net.

Group members can elect to receive a daily digest of topics. The cron system will need to be configured to execute the senddigest command that will send out this digest:

00 02 * * * /opt/groupserver/bin/senddigest http://groups.example.com/

The crontab(5) example above will send the digests for groups.example.com out at 02:00 each day. It is recommended that the digests are sent out in the early-hours of the morning, as this means they will contain the activity for the full day. The senddigest command itself normally just takes the URL of the site as its only argument.

Note:The full path to the senddigest command in your GroupServer installation will be needed, as PATH is not set for cron.
See also:The Ubuntu Cron HOWTO has more information on how to use cron.