Skip to content

2. Configuration

Bernd Hilmar edited this page May 14, 2018 · 3 revisions

To get the cron emails into the database you need to configure the web server where the cron processor is running to accept mail.

Configure aliases

Open /etc/aliases and add this line:

cron: |/<path_to_cronprocessor>/bin/cron_handler

run

$ newaliases

Configure the cronjobs on your server(s)

To get mails delivered from cronjobs to the cronprocessor you need to set the MAILTO in each crontab of your servers. Open /etc/crontab.

Add the line on the top of your crontab(s):

MAILTO=cron@<yourhostname>

where "yourhostname" ist the hostname of the server where you configured the alias.

Important!

Protect the directory with basic auth where you installed the cron processor. The cron processor does not have a user management or session management.

Clone this wiki locally