1RT-EMAIL-DASHBOARDS(1)User Contributed Perl DocumentationRT-EMAIL-DASHBOARDS(1)
2
3
4
6 rt-email-dashboards - Send email dashboards
7
9 rt-email-dashboards [options]
10
12 This tool will send users email based on how they have subscribed to
13 dashboards. A dashboard is a set of saved searches, the subscription
14 controls how often that dashboard is sent and how it's displayed.
15
16 Each subscription has an hour, and possibly day of week or day of
17 month. These are taken to be in the user's timezone if available, UTC
18 otherwise.
19
21 You'll need to have cron run this script every hour. Here's an example
22 crontab entry to do this.
23
24 0 * * * * /usr/sbin/rt-email-dashboards
25
26 This will run the script every hour on the hour. This may need some
27 further tweaking to be run as the correct user.
28
30 This tool supports a few options. Most are for debugging.
31
32 -h
33 --help Display this documentation
34
35 --dryrun
36 Figure out which dashboards would be sent, but don't actually
37 generate or email any of them
38
39 --time SECONDS
40 Instead of using the current time to figure out which
41 dashboards should be sent, use SECONDS (usually since midnight
42 Jan 1st, 1970, so 1192216018 would be Oct 12 19:06:58 GMT
43 2007).
44
45 --epoch SECONDS
46 Back-compat for --time SECONDS.
47
48 --all Ignore subscription frequency when considering each dashboard
49 (should only be used with --dryrun for testing and debugging)
50
51 --user User NAME or ID
52 Only check the specified user's subscriptions
53
54 --log LEVEL
55 Adjust LogToSTDERR config option
56
57
58
59perl v5.34.0 2022-03-01 RT-EMAIL-DASHBOARDS(1)