Skip to content

Commit 0c01332

Browse files
committed
Updates
1 parent c1f8399 commit 0c01332

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

docs/development/cronjob.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ sidebar_label: Cronjobs
99
* `cd /var/www/lhc_web && php cron.php -s site_admin -c cron/workflow`
1010
* Make sure cronjobs are executed under the same user as web server. E.g `www-data`
1111
* Also you can set proper user for cronjobs in `settings.ini.php` file at https://github.com/LiveHelperChat/livehelperchat/blob/4.52v/lhc_web/settings/settings.ini.default.php#L31-L32 E.g put `www-data` on both places.
12+
* You can test does your php in CLI interface has all extensions run `cd /var/www/lhc_web && php cron.php -s site_admin -c cron/dependencies` most of the items should be installed.
1213
:::
1314

1415
## Default cronjob setup

docs/mail/auto-responder.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,11 @@ You can remove those conditions.
5656

5757
![](/img/mail/auto-responder.png)
5858

59+
## How to have different auto-responder for different departments
5960

61+
Few ways
62+
63+
* In webhook conditions as per sample have `{args.chat.dep_id} = 1` as your condition and have different trigger for each of them.
64+
* Use [Replaceable variables](replaceable-variables.md) in your trigger body. Preferred way
65+
* In bot trigger have `Check for conditions to proceed` and have there condition `{args.chat.dep_id} = 1` and have different trigger for each of them.
6066

0 commit comments

Comments
 (0)