rpi_autism

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
rpi_autism [2019/07/25 17:41] – [Specification] Júne Parkrpi_autism [2019/11/19 18:13] – [Specification] Júne Park
Line 41: Line 41:
 <code ini> <code ini>
 Mounted on             Type  Size  Used Avail Use% Mounted on             Type  Size  Used Avail Use%
-/home/meson/repository ext4  459G  143G  294G  33+/home/meson/repository ext4  459G  278G  158G  64
-/home/meson/storage    ext4  459G  318G  118G  73%+/home/meson/storage    ext4  459G  309G  127G  71%
 </code> </code>
  
Line 300: Line 300:
 </code>  </code> 
  
-Script for Pushbullet (Option A) +=== Script for Pushbullet (Option A) ===
 <code bash>  <code bash> 
 #!/bin/bash #!/bin/bash
Line 313: Line 313:
 </code> </code>
  
-Script for Telegram (Option B) +=== Script for Telegram (Option B) ===
 <code bash>  <code bash> 
 #!/bin/bash #!/bin/bash
Line 320: Line 320:
          https://api.telegram.org/bot977114901:279gLSo-d7XZokF4QqM69ZfF3xBKtnYQqMk/sendMessage          https://api.telegram.org/bot977114901:279gLSo-d7XZokF4QqM69ZfF3xBKtnYQqMk/sendMessage
 </code>   </code>  
 +
 +=== Script for Slack using WebHooks (Option C) ===
 +<code bash> 
 +#!/bin/bash
 +curl -X POST --data-urlencode "payload={\"channel\": \"#helpdesk\", \"username\": \"Sender Name\", \"text\": \"The File(s) in <http://bit.torrent/|Transmission Web> is(are) finished.\", \"icon_emoji\": \":ghost:\"}" https://hooks.slack.com/services/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
 +</code> 
 +
 +WebHook address and setup instruction is guided by Slack (tm). 
 +
  
 Restart daemon ''sudo systemctl start transmission-daemon.service''  Restart daemon ''sudo systemctl start transmission-daemon.service'' 
  
 ---- ----
  • rpi_autism
  • Last modified: 2023/06/09 09:48
  • by Júne Park