-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChatSummary.cfg.php.sample
30 lines (22 loc) · 1.5 KB
/
ChatSummary.cfg.php.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
$CHAT_SUMMARY_URL = 'https://chat.civicrm.org';
// Your team's name. If you don't know it it will be in the url when you visit the actual site in a browser.
$CHAT_SUMMARY_TEAM_NAME = 'civicrm';
// Retrieve posts created after this many seconds ago. If you're running from cron it would make sense for this to match how often you run the script.
// Note this is just a default. It will try to use the last runtime regardless of this setting.
$CHAT_SUMMARY_CUTOFF = 3600;
// Replace with your actual login_id and password.
$CHAT_SUMMARY_LOGIN_STRING ='{"login_id":"[email protected]","password":"your_password"}';
// An email address that won't appear to be a spam sender when the email is sent from the server where this script is running.
$CHAT_SUMMARY_MAIL_FROM = '[email protected]';
// Email recipient. Can separate multiple with commas.
$CHAT_SUMMARY_MAIL_RECIPIENT = '[email protected]';
// Cache directory to store data between runs.
// There's nothing sensitive in here or that needs its own dedicated folder. It could just be /tmp.
$CHAT_SUMMARY_CACHE_DIR = '/usr/local/tmp/chat_summary_cache';
// If there's no posts since last time, should it send the email?
// If you're using this with a short frequency, you might want to set this to
// false. If you're using it with a long frequency, I like to get these since
// otherwise there's no easy way to tell the difference between whether it
// failed or whether it was just empty.
$CHAT_SUMMARY_SEND_ON_EMPTY = true;