-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 15
-
Fix Version/s: None
-
Component/s: Userman
-
Labels:None
-
ToDo:
-
Asterisk Version:18.8.0
-
Distro Version:N/A
This update adds the following crontab entry:
*/15 * * * * [ -e /usr/sbin/fwconsole ] && sleep $((RANDOM%30)) && /usr/sbin/fwconsole userman --syncall -q
resulting in repeated emails:
Subject: Cron <asterisk@FreePBX> [ -e /usr/sbin/fwconsole ] && sleep $((RANDOM
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/asterisk>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=asterisk>
/bin/sh: 1: Syntax error: Missing '))'
The added crontab entry needs to be:
*/15 * * * * [ -e /usr/sbin/fwconsole ] && sleep $((RANDOM\%30)) && /usr/sbin/fwconsole userman --syncall -q
- is duplicated by
-
FREEPBX-23167 Cron job generates nuisance emails
-
- Closed
-