Skip to content

Commit

Permalink
Add additional recommended crontab entries for signal-cli support.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlund committed Nov 1, 2024
1 parent 175038b commit 205f5a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,9 @@ If these commands both work, then you're almost done. The final step is to confi
3. Add this line to the bottom of the file to check for iOS and macOS updates every 45 minutes:
* `*/45 * * * * cd /home/softwareupdates/actually-automatic && ruby update-notifier.rb notify --ios --macos`
* Be sure to update the home directory if you chose a different username.
4. **Optional:** If you have configured Signal notifications via `signal-cli`, you may also want to add the following lines to the crontab to periodically process incoming messages (e.g. when new people join the group chat where you're sending notifications) and to clean up attachment downloads:
* `15 */4 * * * /usr/local/bin/signal-cli -u +18015551234 receive`
* Be sure to replace the 555 example number with the number `signal-cli` is using.
* `@daily rm -rf /home/softwareupdates/.local/share/signal-cli/attachments`

All set! You can verify that the cron is working by watching the timestamp in the `LAST_RUN` file in the repo directory.

0 comments on commit 205f5a2

Please sign in to comment.