Daily Ops Summary to Slack
bin/slack_daily_summary.phpAggregates warehouse production totals, completed orders, active 2D draft queues, problem items, and attendance, posting an evening briefing into the configured Slack channel.
30 16 * * 1-5
30 20 * * 1-5
/usr/local/bin/php /home1/onnyfsmy/public_html/website_dd37aa06/v3/products/demos/ktools/ktools4/bin/slack_daily_summary.php >/dev/null 2>&1
| Flag | Behavior & Usage |
|---|---|
| --preview | Generates and outputs the summary text to stdout without sending to Slack or logging an event run. |
| --force | Ignores the daily one-run guard (slack_event_runs) and forces immediate re-dispatch. |
| --date=YYYY-MM-DD | Generates and evaluates the ops summary for a specific historical date. |
| Variable | Description |
|---|---|
| KT4_ADMIN_URL | Overrides the base link in the Slack post (default: https://krisdkent.net/ktools4/admin). |