rt-email-dashboards(8)
π rt-email-dashboards(8) β Request Tracker Reference π
okay bestie, gather round, because this is the little script that emails people their dashboards and honestly? it's giving β¨unsung heroβ¨. it lives in the Request Tracker reference, it's a perl v5.38.2 situation, and it's about to become your whole personality.
β¨ NAME β¨
rt-email-dashboards β send email dashboards π¦
πΈ SYNOPSIS πΈ
rt-email-dashboards [options]
π DESCRIPTION π
so. this tool sends users email based on how they've subscribed to dashboards. a dashboard is a set of saved searches, and the subscription controls how often that dashboard gets sent and how it's displayed. no cap, that's the whole vibe. π¬
every subscription has an hour, and possibly a day of week or day of month. those are taken to be in the user's timezone if it's available, and in UTC otherwise. that's the rule, periodt. β°
π§ SETUP π§
you're gonna need to have cron run this script every hour. here's an example crontab entry to do exactly that:
0 * * * * /usr/sbin/rt-email-dashboards
this runs the script every hour on the hour. π
heads up: this may need some further tweaking to be run as the correct user. don't skip that part bestie, i'm begging. π
π OPTIONS π
this tool supports a few options. most of them are for debugging, which is honestly so real of them.
-h,--helpβ display this documentation π--dryrunβ figure out which dashboards would be sent, but don't actually generate or email any of them. it's the "imagine the email" option, iconic. π--time SECONDSβ instead of using the current time to figure out which dashboards should be sent, use SECONDS (usually since midnight Jan 1st, 1970, so1192216018would be Oct 12 19:06:58 GMT 2007). time travel but make it epoch π°οΈ--epoch SECONDSβ back-compat for--time SECONDS. it's the same thing wearing a vintage jacket. π§₯--allβ ignore subscription frequency when considering each dashboard. π¨ should only be used with--dryrunfor testing and debugging, so like, do not run this loose in production, i am on my knees. π¨--user User NAME or IDβ only check the specified user's subscriptions. one user, one vibe check. π--log LEVELβ adjustLogToSTDERRconfig option. turn the volume knob on the logs, as a treat. π
π SEE ALSO π
no extra references here, bestie β this page is self-contained and thriving. π
and that's the whole thing! π«Ά this page is from Request Tracker Reference, rt-email-dashboards(8), generated with perl v5.38.2 on 2023-10-29. slay, stay hydrated, and please actually set up your cron job. πβ¨π
π¦ where this page comes from
- ubuntu noble: request-tracker4 4.4.7+dfsg-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms