-
Notifications
You must be signed in to change notification settings - Fork 2
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.
Open /etc/aliases and add this line:
cron: |/<path_to_cronprocessor>/bin/cron_handler
run
$ newaliases
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.
Protect the directory with basic auth where you installed the cron processor. The cron processor does not have a user management or session management.