Commit 66058060 authored by kaliraja's avatar kaliraja
Browse files

DO-1516 added the api call report mailing var

parent a3619b51
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -10,7 +10,7 @@
name: apt
state: present
- name: Copy the elasticsearch api query Shell script
copy:
template:
src: static-files/api_count_query.sh
dest: /tmp/
mode: 0775
......
......@@ -60,7 +60,7 @@ query $registermobile $mobiledevice_registerfilename
#sending an email with an attachment
curl https://api.sendgrid.com/api/mail.send.json \
"{{ api_report_mailing_list }}" -F subject="Data for Diksha api calls" \
{{ api_report_mailing_list }} -F subject="Data for Diksha api calls" \
-F text="Data" --form-string html="<strong>Hi Team, PFA.</strong>" \
-F from=reports@diksha.in -F api_user="$sguser" -F api_key="$sgpass" \
-F files\[contentsearch.txt\]=@contentsearch-$date.txt -F files\[contentread.txt\]=@contentread-$date.txt -F files\[telemetry.txt]=@telemetry-$date.txt -F files\[registermobile.txt]=@registermobile-$date.txt
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment