RT-EMAI...SHBOARDS(1)
π rt-email-dashboards β the manual, but make it cute
ok so first thing, bestie: this is the rt-email-dashboards page from the User Contributed Perl Documentation collection, and I'm gonna walk you through it like we're texting at 2am. grab a snack. π
β¨ NAME β¨
rt-email-dashboards β it sends email dashboards. that's it, that's the whole job. π
πΈ SYNOPSIS πΈ
rt-email-dashboards [options]
π DESCRIPTION π
okay so here's the vibe: this tool slides into your users' inboxes based on how they've subscribed to dashboards. and what's a dashboard? it's a set of saved searches. the subscription is what controls how often that dashboard gets sent out and how it's displayed. dashboard = the content, subscription = the schedule + the glow-up. β¨
every subscription has an hour, and possibly a day of week or a day of month. and the timezone tea? those values are taken to be in the user's timezone if available, and UTC otherwise. no timezone? UTC. sorry babe, those are the rules. π
π SETUP π
you're gonna need cron running this script every hour. no cap. here's an example crontab entry that does exactly that:
0 * * * * /usr/bin/rt-email-dashboards
this runs the script every hour on the hour. π it may need some further tweaking to be run as the correct user β so like, double-check who you're running as, bestie.
π₯ OPTIONS π₯
this tool supports a few options. most of them are for debugging, which is giving dev-mode main character energy. π οΈ
-h,--helpβ display this documentation. read the docs, queen. π--dryrunβ figure out which dashboards would be sent, but don't actually generate or email any of them. it's the dress rehearsal, not the performance. π--dashboardsDASHBOARD_IDS β only check specified dashboards (comma-separated IDs).--timeSECONDS β instead of using the current time to figure out which dashboards should be sent, use SECONDS. and usually that's since midnight Jan 1st, 1970, so like,1192216018would be Oct 12 19:06:58 GMT 2007. time travel but make it unix. β³--epochSECONDS β backwards-compatible for--time SECONDS. it's the same thing wearing a vintage jacket. π--allβ ignore subscription frequency when considering each dashboard. β οΈ heads up: this should only be used with--dryrunfor testing and debugging. do not freestyle this one in prod, bestie, I'm begging.--userUser NAME or ID β only check the specified user's subscriptions.--recipientUser NAME or EMAIL or ID β only send emails to the specified user. can be specified multiple times to send multiple emails, like:
--recipient alice@example.com --recipient bob@example.com
this is mostly useful for testing, especially dashboard issues seen only by a specific user. for typical dashboard emails, set recipients via the subscription settings in the web UI. (i.e. this is your debugging scalpel, not your everyday workflow. π©Ί)
--logLEVEL β adjustLogToSTDERRconfig option.--statement-logLEVEL β log any SQL queries produced at the specified log level. this works similar to the$StatementLogoption in the main RT config file. ποΈ
π quick recap so it's locked in your brain forever: dashboards get emailed on their subscription schedule (user timezone if available, UTC otherwise), you need cron hitting it every hour, and like half of these options are just for debugging. iconic behavior honestly.
and that's the whole page, babe β written by the User Contributed Perl Documentation girlies, running on perl v5.42.3, dated 2026-07-20. go forth and schedule those dashboards. periodt. π π¦πΈ
π¦ where this page comes from
- fedora 43: rt 5.0.10-1.fc43 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms