|
12757
|
274
|
2
|
2026-04-14T11:36:33.443628+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166593443_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER0 81DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 24 m100% 197ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zsh-zsh86-zshO ₴7Tue 14 Apr 14:36:33181* Unable to acce...*8],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
4815023601694804382
|
NULL
|
visual_change
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER0 81DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 24 m100% 197ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zsh-zsh86-zshO ₴7Tue 14 Apr 14:36:33181* Unable to acce...*8],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
|
12762
|
274
|
5
|
2026-04-14T11:36:57.524292+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166617524_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER© 81DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 24 m100% <47Tue 14 Apr 14:36:57181ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zsh-zsh86-zshO ₴7* Unable to acce...],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
5266478389276310979
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER© 81DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 24 m100% <47Tue 14 Apr 14:36:57181ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zsh-zsh86-zshO ₴7* Unable to acce...],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
12760
|
|
12763
|
274
|
6
|
2026-04-14T11:37:02.795794+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166622795_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER0 881DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahl• Support Daily • in 23 ml100% 147ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO 87Tue 14 Apr 14:37:02181* Unable to acce...€ *8],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
-7556254851387729219
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER0 881DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahl• Support Daily • in 23 ml100% 147ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO 87Tue 14 Apr 14:37:02181* Unable to acce...€ *8],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
|
12764
|
275
|
3
|
2026-04-14T11:37:02.795806+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166622795_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelPetactonToo PhpStormFileFditViewNavigateCodeLaravelPetactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny ~Project v© EmailMessageRepository.pC) GenericAiPromptRepositorg grouprepository.phpInboxEmailBatchRepositonC InboxRepository.php© InvitationRepository.pnpC) JobRepositorv.ohpC LanquageRepository.phpC MomentRepository.phpNotificationRepositorv.php© ParticipantRepository.phpC ParticipantSpeechRepositoC ParticipantStatsRepository© PlaybookCategoryRepositcg Playbookkepository.phpPlaylistActivityRepository.pPlaylistRepository.php(C) PlavlistShareRepositorv.ph© QuestionRepository.phpC) RoleChangeEventRepositol(C) RoleRepository.php(©) SearchRepository.php©) SnapshotRepository.php©) SocialAccountRepository.pC StageRepository.php© SubscriptionSetRepository.© TaskRepository.php© TeamAiContextRepository.© TeamDomainsRepository.pC) TeaminsiahtsRepositorv.phC TeamRepository.phpC) ThemeRepository.php(C) TimezoneRepository.phpC TopicRepository.phpC TopicTriggerRepository.ph© TrackRepository.php© TranscriptionModelLocaleF© TranscriptionRepository.ph© TranscriptionSummaryRepC UserRepository-php© VocabularyRepository.pnp› D Rulesv _ Services>→ Activity> D AjReports>D AvatarlcalendarConterenceM erm> D Import> MInternalv MKioskv M AutomatedReports(C) ActivityTypeService.(©) AskJiminnyReportAc(C) AutomatedReportsC(©) AutomatedReportsSi© DealStagesService.p(© RecipientsService.ph(©) ReportController.phpC SendReportJob.php(©) AutomatedReportsCommand.php= custom.loc= laravel.logc SF liminny@localhost« HS_local fiminny@localhostC AutomatedReportsSendCommand.phgC AddLayoutEntities.phpC) Team.phpC) AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.phpe) TrackProviderinstallled-vent.ono(©) CreateActivityLoggedEvent.phpC UserPilotActivityListener.phpC ActivityLogged.php© AutomatedReportsCallbackService.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpconsole PROD4 console [EU1L console [STAGING]Tx: Auto vFlaycroundvt.owner_1d FROM soc1al_accounts sa52015211JOIN users u on u.1d = sa.soclable_1dJOIN teams tI.n<->I: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = salestorce :163616631664100516661100.166816691672116751677167816791680168116821683168416851686168716881689169016911692116941OYA117171718171917201721172217231724172411720class AutomatedReportsservicepublic function getActivit1escountPayload(array s1nputPayload): array'playdook_categories'= $vaLidacedbatal playdook_categories'J !! lJ.'request_1d = nuLl,'callback url = nuul,A 102 V3 V34 ^V0J 523susaeespublic function shouldsendReport(array susers, ?Carbonintertace sgeneratedAt = null): boou1f (empty(susers))return false;15452752852953053153253315.5411555155455 Anearuestz = coulectcsusers)->mapWithKeys(function (array $user) 1$tz = new DateTimeZone($user['timezone']):SnowUtc = new DateTime datetime: 'now', new DateTimeZone( timezone: "UTC':Soffset = stz->get0ffset(Snowtc):return [suserl'timezone' => soffsetl;=05053954054154215431544->sortbesc()->Keys)->first(O:lnnow = varoonr.noynearuresciz.$isScheduledTime = (int) $now->format( format: 'H') === self::SENT_RESORT_AT_HOURS;if (SisScheduledTime)return true:•54=5471548=549550551552553554555556return sthis->hasPassedScheduLedlime(SgeneratedAt, searliestiz):15585 usagespublic function hasPassedScheduledTime(?CarbonInterface Sgeneratedt, string $timezone): boolf.. 561b usagespublic function calculateFromAndToDatePeriodostring Sfrequency,?Carbon $fromDate = null,?Carbon stobate = nuul): array "ifüfrequencK seLfi: FREQUENCX ONE DEE)NEreturn"trombace = stromdate,'toDate' => stobate,—0045635645635665675o8 M=569—5/0Pusnea 1 commit to oricin/Jy-loy0g-automated-repors-ask- iminny View pull request loday 13.29liminny017 A 15 V13 ^select * tron reans wnere 1o =1select x tron groups g Juin playbooks p1..n<->1: on a.plavbook id = p.id wiselect * 1r0IOIrOUOSnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175:select * from playbook categories where playbook id = 175:select * from users where team_1d = 1:select * from users where 1d = 7160*select * from crm_profiles where user_1d = 7160*select * trom reatures,select*o, Uuno, tyoe, orovoer, oavoook careoory or user 0rleao o, contact* cri conmouracionorciri orovoer LorTranscrrocion orSTaTUSfrom activities where crm_confiquration id = 1 and type =# and crm_ provider id IS NOT NULLand provider != 'uploader' and actual start time IS NOT NULLORDER by id desc;select * from activities where 1d = 54/47785; # 0000400000pCZOJMAOselect p.1d, p.activity_type, pc.1d, pc.nameFRUM playdooks pjoin playpook_categories pe"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm fields WHERE crm confiquration id = 1 and obiect tvpe = !SELECT * FROM crm_ field values WHERE crm_ field id = 4select * from crm_layouts cl join playbook layouts pl 1<->i.n: on cl.id =pwhere crm_configuration_1d = 1 and pl.playbooK_1d = 175:select * from teams:SELECI r.* FRUn aucomaced_reporus rjoin ceams t on r.ueam 10 = t.10WHERE r.trequency = "dally"and f.stauus-AND t.status = 'activelAND (r.expires at >= now) OR r.expires at IS NULD):select * from automated_report_results where report. id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932:select * from automated_reports order by 1d desc;select * from automated_report_results order by id desc;select * from automated_report_results where report id IN (36);Support Daily • in 23 m100% [45)Tue 14 Apr 14:37:02AutomatedRenortsCommandTestCascadeDebug Automated RepLogic Walkthroughoteo l. derueneraceanorsentkesultsrerches AutomatedkenortResult recoros wnerergenerated_at IS NOT NULLsent_at Is NULLstatus = STATUS GENERATEDnas arelared revortYour 7 results pass this.Step 2: getValidRecipientUsers()For each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients(→ includes creator. For regular reports it goes through getRecipientUsers() . Either way, the creator has anemail, so validRecipients is not empty.vStenx. shouldSendRenorto - THISS WHERE ITFAILS•phppubLic const int SENI_REPORI_AI_HUURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +1080• secondsIt then checks:• php$now = carbon::now($earliestiz);$isScheduledTime = (int) $now->format('H") === 5;// current time in GMT+3// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :0 phppublic function hasPassedScheduledTime(?CarbonInterface SgeneratedAt, string $timezone): booltihis checksgeneratedat < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)soit onlv returns true If1. The report was generated before 05:00 GMT+3 today (l.e., before 02:00 UTC.2. AND current time is past 05:00 GMT+3 (past 02:00 UTC)Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeutc, so hasPassedScheduledTime returns false• OR the current time is before 05:00 GMT+3 → nowUtc is NOT > scheduledTimeUtcciven vou 're running this at 2:35 PM UTic+3 14.35 ocaly 11:35 Unic). here's what hapoens.scheduledtame = tocav at 05:00 GMT+3 = 02:00 U10now = 11:35 UTC → past scheduled timevgeneratedat must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (atter 02:00 UTC) today, so generatedAtUtr.Iffcchedulentimellfr) stalse z hacPaccenSchenulerime returns talce → notina senosAsk anything (&+LClaude Sonnet 4.6winasun leam1685:23uir-oia 4 spacesw...
|
NULL
|
-6375461198440928507
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelPetactonToo PhpStormFileFditViewNavigateCodeLaravelPetactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny ~Project v© EmailMessageRepository.pC) GenericAiPromptRepositorg grouprepository.phpInboxEmailBatchRepositonC InboxRepository.php© InvitationRepository.pnpC) JobRepositorv.ohpC LanquageRepository.phpC MomentRepository.phpNotificationRepositorv.php© ParticipantRepository.phpC ParticipantSpeechRepositoC ParticipantStatsRepository© PlaybookCategoryRepositcg Playbookkepository.phpPlaylistActivityRepository.pPlaylistRepository.php(C) PlavlistShareRepositorv.ph© QuestionRepository.phpC) RoleChangeEventRepositol(C) RoleRepository.php(©) SearchRepository.php©) SnapshotRepository.php©) SocialAccountRepository.pC StageRepository.php© SubscriptionSetRepository.© TaskRepository.php© TeamAiContextRepository.© TeamDomainsRepository.pC) TeaminsiahtsRepositorv.phC TeamRepository.phpC) ThemeRepository.php(C) TimezoneRepository.phpC TopicRepository.phpC TopicTriggerRepository.ph© TrackRepository.php© TranscriptionModelLocaleF© TranscriptionRepository.ph© TranscriptionSummaryRepC UserRepository-php© VocabularyRepository.pnp› D Rulesv _ Services>→ Activity> D AjReports>D AvatarlcalendarConterenceM erm> D Import> MInternalv MKioskv M AutomatedReports(C) ActivityTypeService.(©) AskJiminnyReportAc(C) AutomatedReportsC(©) AutomatedReportsSi© DealStagesService.p(© RecipientsService.ph(©) ReportController.phpC SendReportJob.php(©) AutomatedReportsCommand.php= custom.loc= laravel.logc SF liminny@localhost« HS_local fiminny@localhostC AutomatedReportsSendCommand.phgC AddLayoutEntities.phpC) Team.phpC) AutomatedReportsRepository.php© AutomatedReportsService.php© CreateHeldActivityEvent.phpe) TrackProviderinstallled-vent.ono(©) CreateActivityLoggedEvent.phpC UserPilotActivityListener.phpC ActivityLogged.php© AutomatedReportsCallbackService.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpconsole PROD4 console [EU1L console [STAGING]Tx: Auto vFlaycroundvt.owner_1d FROM soc1al_accounts sa52015211JOIN users u on u.1d = sa.soclable_1dJOIN teams tI.n<->I: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = salestorce :163616631664100516661100.166816691672116751677167816791680168116821683168416851686168716881689169016911692116941OYA117171718171917201721172217231724172411720class AutomatedReportsservicepublic function getActivit1escountPayload(array s1nputPayload): array'playdook_categories'= $vaLidacedbatal playdook_categories'J !! lJ.'request_1d = nuLl,'callback url = nuul,A 102 V3 V34 ^V0J 523susaeespublic function shouldsendReport(array susers, ?Carbonintertace sgeneratedAt = null): boou1f (empty(susers))return false;15452752852953053153253315.5411555155455 Anearuestz = coulectcsusers)->mapWithKeys(function (array $user) 1$tz = new DateTimeZone($user['timezone']):SnowUtc = new DateTime datetime: 'now', new DateTimeZone( timezone: "UTC':Soffset = stz->get0ffset(Snowtc):return [suserl'timezone' => soffsetl;=05053954054154215431544->sortbesc()->Keys)->first(O:lnnow = varoonr.noynearuresciz.$isScheduledTime = (int) $now->format( format: 'H') === self::SENT_RESORT_AT_HOURS;if (SisScheduledTime)return true:•54=5471548=549550551552553554555556return sthis->hasPassedScheduLedlime(SgeneratedAt, searliestiz):15585 usagespublic function hasPassedScheduledTime(?CarbonInterface Sgeneratedt, string $timezone): boolf.. 561b usagespublic function calculateFromAndToDatePeriodostring Sfrequency,?Carbon $fromDate = null,?Carbon stobate = nuul): array "ifüfrequencK seLfi: FREQUENCX ONE DEE)NEreturn"trombace = stromdate,'toDate' => stobate,—0045635645635665675o8 M=569—5/0Pusnea 1 commit to oricin/Jy-loy0g-automated-repors-ask- iminny View pull request loday 13.29liminny017 A 15 V13 ^select * tron reans wnere 1o =1select x tron groups g Juin playbooks p1..n<->1: on a.plavbook id = p.id wiselect * 1r0IOIrOUOSnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175:select * from playbook categories where playbook id = 175:select * from users where team_1d = 1:select * from users where 1d = 7160*select * from crm_profiles where user_1d = 7160*select * trom reatures,select*o, Uuno, tyoe, orovoer, oavoook careoory or user 0rleao o, contact* cri conmouracionorciri orovoer LorTranscrrocion orSTaTUSfrom activities where crm_confiquration id = 1 and type =# and crm_ provider id IS NOT NULLand provider != 'uploader' and actual start time IS NOT NULLORDER by id desc;select * from activities where 1d = 54/47785; # 0000400000pCZOJMAOselect p.1d, p.activity_type, pc.1d, pc.nameFRUM playdooks pjoin playpook_categories pe"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm fields WHERE crm confiquration id = 1 and obiect tvpe = !SELECT * FROM crm_ field values WHERE crm_ field id = 4select * from crm_layouts cl join playbook layouts pl 1<->i.n: on cl.id =pwhere crm_configuration_1d = 1 and pl.playbooK_1d = 175:select * from teams:SELECI r.* FRUn aucomaced_reporus rjoin ceams t on r.ueam 10 = t.10WHERE r.trequency = "dally"and f.stauus-AND t.status = 'activelAND (r.expires at >= now) OR r.expires at IS NULD):select * from automated_report_results where report. id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932:select * from automated_reports order by 1d desc;select * from automated_report_results order by id desc;select * from automated_report_results where report id IN (36);Support Daily • in 23 m100% [45)Tue 14 Apr 14:37:02AutomatedRenortsCommandTestCascadeDebug Automated RepLogic Walkthroughoteo l. derueneraceanorsentkesultsrerches AutomatedkenortResult recoros wnerergenerated_at IS NOT NULLsent_at Is NULLstatus = STATUS GENERATEDnas arelared revortYour 7 results pass this.Step 2: getValidRecipientUsers()For each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients(→ includes creator. For regular reports it goes through getRecipientUsers() . Either way, the creator has anemail, so validRecipients is not empty.vStenx. shouldSendRenorto - THISS WHERE ITFAILS•phppubLic const int SENI_REPORI_AI_HUURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +1080• secondsIt then checks:• php$now = carbon::now($earliestiz);$isScheduledTime = (int) $now->format('H") === 5;// current time in GMT+3// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :0 phppublic function hasPassedScheduledTime(?CarbonInterface SgeneratedAt, string $timezone): booltihis checksgeneratedat < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)soit onlv returns true If1. The report was generated before 05:00 GMT+3 today (l.e., before 02:00 UTC.2. AND current time is past 05:00 GMT+3 (past 02:00 UTC)Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeutc, so hasPassedScheduledTime returns false• OR the current time is before 05:00 GMT+3 → nowUtc is NOT > scheduledTimeUtcciven vou 're running this at 2:35 PM UTic+3 14.35 ocaly 11:35 Unic). here's what hapoens.scheduledtame = tocav at 05:00 GMT+3 = 02:00 U10now = 11:35 UTC → past scheduled timevgeneratedat must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (atter 02:00 UTC) today, so generatedAtUtr.Iffcchedulentimellfr) stalse z hacPaccenSchenulerime returns talce → notina senosAsk anything (&+LClaude Sonnet 4.6winasun leam1685:23uir-oia 4 spacesw...
|
12761
|
|
12769
|
274
|
9
|
2026-04-14T11:38:26.170246+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166706170_m1.jpg...
|
PhpStorm
|
faVsco.js – AutomatedReportsSendCommand.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 m100% <47ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER981DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh86-zshO ₴7Tue 14 Apr 14:38:25181* Unable to acce...*8> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
1844545154833492684
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 m100% <47ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER981DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh86-zshO ₴7Tue 14 Apr 14:38:25181* Unable to acce...*8> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
12767
|
|
12770
|
275
|
6
|
2026-04-14T11:38:26.128042+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166706128_m2.jpg...
|
PhpStorm
|
faVsco.js – AutomatedReportsSendCommand.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormProject vFileFV faVsco.js vEditViewNavigat PhpStormProject vFileFV faVsco.js vEditViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-iminny ~© AutomatedReportsCi© AutomatedReportsRr© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpIsackM TeamsD TracksD TranscriptionD TwilioO UsersVocabularyD Zoom© CoachingFeedbacksUpr© Command.php© CreateDatabaseUsers.p© DatabaseTableCount.ptc DelereoeAcimnorescc Deleress eroverscom(C DevPostmanCommand.© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantlssues.p© FlushRolesPermissionsC© GeneratelnternalWebhoGroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.phpImportUsersFromCsvFil© IterateUsersCommand.fc.liminnveacheclearcom(©) JiminnyDebugCommanc(©) JiminnySetEncryptedTo(C) .JiminnvTokeninfoComm© MakeSlackLiveCoachins© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesComi© RecalculateDealRisksCo(C) RemoveDeleteMarkersd(c) Remove-XoiredNuddes© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© SeedActivities.php© SyncActivity.php© ReportController.php© SendReportJob.php© AutomatedReporh/Command.php x© AutomatedReportsSendCommand.phpAddLayoutchuitles.onpc leam.ongC) AutomatedReportsRepository.php= custom.logconsole PROD© AutomatedReportsService.php) CreateActivityLoggedEvent.php© TrackProviderInstalledEvent.php© ActivityLogged.phpAutomareakeporscallbackservice.ongC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command521522= laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';A HS_local [iminny@localhost]Sa jiminny v017 A15 Х13 A25 Ct32 Ct35 Ct394144455556C&889988*ne nome one stendrure of tne console commond.*ovar scringprotected $signature = 'automated-reports:send';/*** The console command description.* Ovar string52415251154015275285295305315325335345351554protected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,private readonly AutomatedReportsService $automatedReportsService,private readonly BusDispatcher $dispatcher,parent::__construct();/*** Execute the console command.* Qreturn intpublic function handle(): int155000%54054154254354454554654715481547550551552553554555556foreach (SrenortResults as SrevortResult) {1558/** Ovar AutomatedReportResult $reportResult */$validRecipients = $this->automatedReportsService->getValidRecipientUsers($reportResult->g560if ($this->automatedReportsService->shouldSen|dReport($validRecipients, $reportResult->get$561$this->logger->info(self::LOG_PREFIX'Dispatching job',1);562563$this->dispatcher->dispatch(new SendReportJob($reportResult->getUvid()));select * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect x Tolgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id,leao o, contact* cri conmouracionorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks Pjoin playbook_categories pc"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status ='activeAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);return CommandALias: : SUCCESS;565566567568 v569570571572select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)> 0lablSupport Daily • in 22 mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:38:25CascadeDebug Automated Rep+0 .Fetches AutomatedReportResult records where:generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwSten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemail, so validRecipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILsD phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.0 phpsnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') === 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerumns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (84L)+ <> Code Claude Sonnet 4.6Winasun leams50:00uir-o( 4 spaces...
|
NULL
|
4282880968425003261
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormProject vFileFV faVsco.js vEditViewNavigat PhpStormProject vFileFV faVsco.js vEditViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-iminny ~© AutomatedReportsCi© AutomatedReportsRr© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpIsackM TeamsD TracksD TranscriptionD TwilioO UsersVocabularyD Zoom© CoachingFeedbacksUpr© Command.php© CreateDatabaseUsers.p© DatabaseTableCount.ptc DelereoeAcimnorescc Deleress eroverscom(C DevPostmanCommand.© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantlssues.p© FlushRolesPermissionsC© GeneratelnternalWebhoGroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.phpImportUsersFromCsvFil© IterateUsersCommand.fc.liminnveacheclearcom(©) JiminnyDebugCommanc(©) JiminnySetEncryptedTo(C) .JiminnvTokeninfoComm© MakeSlackLiveCoachins© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesComi© RecalculateDealRisksCo(C) RemoveDeleteMarkersd(c) Remove-XoiredNuddes© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© SeedActivities.php© SyncActivity.php© ReportController.php© SendReportJob.php© AutomatedReporh/Command.php x© AutomatedReportsSendCommand.phpAddLayoutchuitles.onpc leam.ongC) AutomatedReportsRepository.php= custom.logconsole PROD© AutomatedReportsService.php) CreateActivityLoggedEvent.php© TrackProviderInstalledEvent.php© ActivityLogged.phpAutomareakeporscallbackservice.ongC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command521522= laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';A HS_local [iminny@localhost]Sa jiminny v017 A15 Х13 A25 Ct32 Ct35 Ct394144455556C&889988*ne nome one stendrure of tne console commond.*ovar scringprotected $signature = 'automated-reports:send';/*** The console command description.* Ovar string52415251154015275285295305315325335345351554protected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,private readonly AutomatedReportsService $automatedReportsService,private readonly BusDispatcher $dispatcher,parent::__construct();/*** Execute the console command.* Qreturn intpublic function handle(): int155000%54054154254354454554654715481547550551552553554555556foreach (SrenortResults as SrevortResult) {1558/** Ovar AutomatedReportResult $reportResult */$validRecipients = $this->automatedReportsService->getValidRecipientUsers($reportResult->g560if ($this->automatedReportsService->shouldSen|dReport($validRecipients, $reportResult->get$561$this->logger->info(self::LOG_PREFIX'Dispatching job',1);562563$this->dispatcher->dispatch(new SendReportJob($reportResult->getUvid()));select * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect x Tolgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id,leao o, contact* cri conmouracionorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks Pjoin playbook_categories pc"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status ='activeAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);return CommandALias: : SUCCESS;565566567568 v569570571572select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)> 0lablSupport Daily • in 22 mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:38:25CascadeDebug Automated Rep+0 .Fetches AutomatedReportResult records where:generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwSten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemail, so validRecipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILsD phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.0 phpsnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') === 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerumns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (84L)+ <> Code Claude Sonnet 4.6Winasun leams50:00uir-o( 4 spaces...
|
12766
|
|
12771
|
274
|
10
|
2026-04-14T11:38:28.149862+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166708149_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 m100% 197ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER- 281DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh86-zshO ₴7Tue 14 Apr 14:38:27181* Unable to acce...K 888> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
4185911227182237860
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 m100% 197ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER- 281DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh86-zshO ₴7Tue 14 Apr 14:38:27181* Unable to acce...K 888> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
|
12772
|
274
|
11
|
2026-04-14T11:38:31.293314+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166711293_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 mec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER-281DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh100% <47Tue 14 Apr 14:38:3018186-zshO 87* Unable to acce...*- *8> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
794888055854396673
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 mec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER-281DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh100% <47Tue 14 Apr 14:38:3018186-zshO 87* Unable to acce...*- *8> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
12771
|
|
12773
|
275
|
7
|
2026-04-14T11:38:31.279780+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166711279_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodelaraveRefactonTool PhpStormFileFditViewNavigateCodelaraveRefactonToolsWindowHelpFV faVsco.js v• :1894 on.lY-18909-automated-renorts-ask-liminnv vProject vc) ReportController.onpSendReportJob.php(©) AutomatedReportsCommand.php= custom.loc= laravel.logc SF liminny@localhost« HS_local fiminny@localhostC AutomatedReportsSendCommand.phgAadLayoutchutles.onleam.onoC AutomatedReportsRepository.phpIl AuthD eustomerApI JnternallI KlOSkU settings_lelepnonyMWebhook> Hubspot> _ IntegrationAppSubsc(C) ActivityProviderCont(C) ActivityTranscription(©) BaseController.phpCalendarController.p© ReportController.php• SoftphoneWebhookC(S AbstractController.php(1 CommentContextintena(C) Conferences@ptIn@utCcconTolerone(C ExportController.php(©) FrontendController.phpT FrontendControllerTraitC GeocodingController.ph(©) HealthCheckController.(C LiveCoachController.ph© Missing l eamcontroller.© Mobllecontroller.php© NotificationController.plc NottctonrovceronC) PlavbackController.php(C PlaylistController.php(©) PusherController.php(C SlackController.phpC SupportController.php(©) TeamSetupController.pl(C) UserAutomatedReports© WelcomeController.php→ Micclleware> D Requests> MResources> MResponses› Serializers> TransformersC Kernel.phpD PlaylistTrackResourceTraitT ValidateCrmConnectionRec>_ Integrations•linteractions• M.lobs>_ Activity> M AiAutomationM AiReports>M Audiov _ AutomatedReports(C) RequestGenerateAskJin(C) RequestGenerateRepori©) SendReportJob.php(©) SendReportMailJob.php→I CalendarrackProvicerinstalled-vent.ondconsole PROD< console LUiL console [STAGING]Tx: Auto vC ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong520521© AutomatedReportResult.php© AutomatedReport.phpclass SendReportJob 1mplements ShouldQueue, ShouldBeUniquepubLic tunction nandlelLoggerintertace slogger,Joousoarcherinvertace "oou1spatcher.AutomatedReportsService SautomatedReportsService: void -lltry "$report = $automatedReportsService->getReportResult(Sthis->reportUuid:scatch (Throwable $e) 1sLogger->error(self::LOG_PREFIX.Error getting report result', ['uuld' => sth1s->reportUu1d'exception' => se->getMessage),thnow $e;$logger->info(self::LOG_PREFIX . ' Processing report', ['uuid' => sthis->reportUuid,'status" => $report->getStatusLabel,1):sssPath = sautomatedReportsservice->getMed1aPath(sreport)// Verify the file exists in S3if (! Storage::disk( name: 'client-data-cloud')->exists($s3Path)) {$logger->error(self::LOG_PREFIX' Report file not found in S3', IUuld → scnis->reportuund's3Path' => $s3Path,1):throw new FileNotFoundException( message: 'Report file not found in S3');try"$VaL1dReciplents = saucomacedkeportsservice->getvaL1drec1plentusersфrероги-›дескерогт),includesiminny: true,if (empty($validRecipients) ‹Sloqger->error(self::LOG_PREFIXNo valid recipients found','uuid' => Sthis-›reportUuid,1525115401527528529530531153253300%540541542154354454515461547154815475505515525535545555561558SO.004563564565156615675o8 M10010110211051104105nmit to oricin/Jy-loy09-automated-repors-ask- minny View pull request loday 13.29throw new Runtimetxceptionl message: "No reciplents found for report: isth1s->reportuu15701Get report metadata (same for all recipients)SfileName = SautomatedReportsService->getReportFileName(Sreport):$typeName = Sreport->getReport(->getCustomName®Flaycroundvt.owner_1d FROM soc1al_accounts saJOIN users u on u.1d = sa.soclable_1dJOIN teams tI.n<->I: on t.ld = U.team_1dWHERE U.team_1d = 1 and sa.provider = salestorce :liminny017 A 15 V13 ^select * trom teams wnere 1d = 1,select x tron groups g Juin playbooks p1..n<->1: on a.plavbook id = p.id wiselect * TroIOIrOUOSnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175:select * from playbook categories where playbook 1d = 175:select * from users where team_1d = 1:select * from users where 1d = 7160*select * from crm_profiles where user_1d = 7160*select * trom reatures,select# 10, Uu10, type, proviaer, playbook_cacegory-1a, user_ia,leao o, contact* cri conmouracionorcirn orovoer 1o,Transcrrocion orSTaTUSfrom activities where crm_confiquration id = 1 and type ='conference'# and crm_ provider id IS NOT NULLand provider != 'uploader' and actual start time IS NOT NULLORDER by id desc;select * from activities where 1d = 54/47785; # 0000400000pCZOJMAOselect p.1d, p.activity_type, pc.1d, pc.nameFRUM playdooks pJoin playdook_cacegories pc"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm fields WHERE crm confiquration id = 1 and obiect tvpe = "SELECT * FROM crm field values WHERE crm_ field id = 4select * from crm_layouts cl join playbook layouts pl1<->1..n: on cl.id = pwhere crm_configuration_1d = 1 and pl.playbooK_1d = 175:select * from teams:SELECI r.* FRUn aucomaced_reporus rjoin ceams t on r.ueam 10 = t.10WHERE r.trequency = "dally"and f. stauusAND t.status = 'activelAND (r.expires at >= now OR r.expires at IS NULD):select * from automated_report_results where report. id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932:select * from automated_reports order by 1d desc;select * from automated_report_results order by id desc;select * from automated_report_results where report id IN (36);labl:Support Daily • in 22 m100% [45)Tue 14 Apr 14:38:30AutomatedRenortsCommandTestCascadeDebug Automated RepFetches AutomatedReportResult records where:generated at is NOT NULLsent at is NULLstatus = STATUS GENERATED• has a related reportYour 7 results pass this.Sten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemall, so validRecipients is not emotv.vStep 3: shouldSendReporto — hisls whEkEllraiLs# phppublic const int SENT REPORT AT HOURS = 5;The logic picks the earliest timezone (highest UTC ortset = most ahead of UTC). For GMT+s, the oftset is +10800 seconds.t then checks.•phosnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;11 is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIfit's not 5:00 AM right now in GMT+3, it falls through to hasPassedSchedu ledTime() :® phppublic tunction hasPassedscheduledlimetrlarbonintertace sgeneratedAt, string stimezone): boounis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.wny Nothing is sentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven vou're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:scheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtUtc.lt(scheduledTimeUtc) istalse→ hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (&+L+ <> Code Claude Sonnet 4.6wW Winasurt leams60:14uir-oia 4 spaces...
|
NULL
|
-8922413385090130735
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodelaraveRefactonTool PhpStormFileFditViewNavigateCodelaraveRefactonToolsWindowHelpFV faVsco.js v• :1894 on.lY-18909-automated-renorts-ask-liminnv vProject vc) ReportController.onpSendReportJob.php(©) AutomatedReportsCommand.php= custom.loc= laravel.logc SF liminny@localhost« HS_local fiminny@localhostC AutomatedReportsSendCommand.phgAadLayoutchutles.onleam.onoC AutomatedReportsRepository.phpIl AuthD eustomerApI JnternallI KlOSkU settings_lelepnonyMWebhook> Hubspot> _ IntegrationAppSubsc(C) ActivityProviderCont(C) ActivityTranscription(©) BaseController.phpCalendarController.p© ReportController.php• SoftphoneWebhookC(S AbstractController.php(1 CommentContextintena(C) Conferences@ptIn@utCcconTolerone(C ExportController.php(©) FrontendController.phpT FrontendControllerTraitC GeocodingController.ph(©) HealthCheckController.(C LiveCoachController.ph© Missing l eamcontroller.© Mobllecontroller.php© NotificationController.plc NottctonrovceronC) PlavbackController.php(C PlaylistController.php(©) PusherController.php(C SlackController.phpC SupportController.php(©) TeamSetupController.pl(C) UserAutomatedReports© WelcomeController.php→ Micclleware> D Requests> MResources> MResponses› Serializers> TransformersC Kernel.phpD PlaylistTrackResourceTraitT ValidateCrmConnectionRec>_ Integrations•linteractions• M.lobs>_ Activity> M AiAutomationM AiReports>M Audiov _ AutomatedReports(C) RequestGenerateAskJin(C) RequestGenerateRepori©) SendReportJob.php(©) SendReportMailJob.php→I CalendarrackProvicerinstalled-vent.ondconsole PROD< console LUiL console [STAGING]Tx: Auto vC ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong520521© AutomatedReportResult.php© AutomatedReport.phpclass SendReportJob 1mplements ShouldQueue, ShouldBeUniquepubLic tunction nandlelLoggerintertace slogger,Joousoarcherinvertace "oou1spatcher.AutomatedReportsService SautomatedReportsService: void -lltry "$report = $automatedReportsService->getReportResult(Sthis->reportUuid:scatch (Throwable $e) 1sLogger->error(self::LOG_PREFIX.Error getting report result', ['uuld' => sth1s->reportUu1d'exception' => se->getMessage),thnow $e;$logger->info(self::LOG_PREFIX . ' Processing report', ['uuid' => sthis->reportUuid,'status" => $report->getStatusLabel,1):sssPath = sautomatedReportsservice->getMed1aPath(sreport)// Verify the file exists in S3if (! Storage::disk( name: 'client-data-cloud')->exists($s3Path)) {$logger->error(self::LOG_PREFIX' Report file not found in S3', IUuld → scnis->reportuund's3Path' => $s3Path,1):throw new FileNotFoundException( message: 'Report file not found in S3');try"$VaL1dReciplents = saucomacedkeportsservice->getvaL1drec1plentusersфrероги-›дескерогт),includesiminny: true,if (empty($validRecipients) ‹Sloqger->error(self::LOG_PREFIXNo valid recipients found','uuid' => Sthis-›reportUuid,1525115401527528529530531153253300%540541542154354454515461547154815475505515525535545555561558SO.004563564565156615675o8 M10010110211051104105nmit to oricin/Jy-loy09-automated-repors-ask- minny View pull request loday 13.29throw new Runtimetxceptionl message: "No reciplents found for report: isth1s->reportuu15701Get report metadata (same for all recipients)SfileName = SautomatedReportsService->getReportFileName(Sreport):$typeName = Sreport->getReport(->getCustomName®Flaycroundvt.owner_1d FROM soc1al_accounts saJOIN users u on u.1d = sa.soclable_1dJOIN teams tI.n<->I: on t.ld = U.team_1dWHERE U.team_1d = 1 and sa.provider = salestorce :liminny017 A 15 V13 ^select * trom teams wnere 1d = 1,select x tron groups g Juin playbooks p1..n<->1: on a.plavbook id = p.id wiselect * TroIOIrOUOSnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175:select * from playbook categories where playbook 1d = 175:select * from users where team_1d = 1:select * from users where 1d = 7160*select * from crm_profiles where user_1d = 7160*select * trom reatures,select# 10, Uu10, type, proviaer, playbook_cacegory-1a, user_ia,leao o, contact* cri conmouracionorcirn orovoer 1o,Transcrrocion orSTaTUSfrom activities where crm_confiquration id = 1 and type ='conference'# and crm_ provider id IS NOT NULLand provider != 'uploader' and actual start time IS NOT NULLORDER by id desc;select * from activities where 1d = 54/47785; # 0000400000pCZOJMAOselect p.1d, p.activity_type, pc.1d, pc.nameFRUM playdooks pJoin playdook_cacegories pc"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm fields WHERE crm confiquration id = 1 and obiect tvpe = "SELECT * FROM crm field values WHERE crm_ field id = 4select * from crm_layouts cl join playbook layouts pl1<->1..n: on cl.id = pwhere crm_configuration_1d = 1 and pl.playbooK_1d = 175:select * from teams:SELECI r.* FRUn aucomaced_reporus rjoin ceams t on r.ueam 10 = t.10WHERE r.trequency = "dally"and f. stauusAND t.status = 'activelAND (r.expires at >= now OR r.expires at IS NULD):select * from automated_report_results where report. id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932:select * from automated_reports order by 1d desc;select * from automated_report_results order by id desc;select * from automated_report_results where report id IN (36);labl:Support Daily • in 22 m100% [45)Tue 14 Apr 14:38:30AutomatedRenortsCommandTestCascadeDebug Automated RepFetches AutomatedReportResult records where:generated at is NOT NULLsent at is NULLstatus = STATUS GENERATED• has a related reportYour 7 results pass this.Sten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemall, so validRecipients is not emotv.vStep 3: shouldSendReporto — hisls whEkEllraiLs# phppublic const int SENT REPORT AT HOURS = 5;The logic picks the earliest timezone (highest UTC ortset = most ahead of UTC). For GMT+s, the oftset is +10800 seconds.t then checks.•phosnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;11 is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIfit's not 5:00 AM right now in GMT+3, it falls through to hasPassedSchedu ledTime() :® phppublic tunction hasPassedscheduledlimetrlarbonintertace sgeneratedAt, string stimezone): boounis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.wny Nothing is sentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven vou're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:scheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtUtc.lt(scheduledTimeUtc) istalse→ hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (&+L+ <> Code Claude Sonnet 4.6wW Winasurt leams60:14uir-oia 4 spaces...
|
NULL
|
|
12778
|
274
|
14
|
2026-04-14T11:38:41.654064+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166721654_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp§ Support Daily • in 22 m100% <Tue 14 Apr 14:38:41T&1ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER₴81DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,3,],}-zsh86-zshO ₴7* Unable to acce... ≥,* *8•Menu Bar item refreshed> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#...
|
NULL
|
6128504887002579909
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp§ Support Daily • in 22 m100% <Tue 14 Apr 14:38:41T&1ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER₴81DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,3,],}-zsh86-zshO ₴7* Unable to acce... ≥,* *8•Menu Bar item refreshed> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#...
|
NULL
|
|
12779
|
274
|
15
|
2026-04-14T11:38:42.642693+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166722642_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 m100% <47Tue 14 Apr 14:38:42181ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER3 281DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh86-zshO 87* Unable to acce... →- *8Menu Bar item refreshed> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
-6886201221067134707
|
NULL
|
visual_change
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 m100% <47Tue 14 Apr 14:38:42181ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER3 281DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh86-zshO 87* Unable to acce... →- *8Menu Bar item refreshed> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
12778
|
|
12780
|
274
|
16
|
2026-04-14T11:38:43.912817+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166723912_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 m100% 197ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER981DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh86-zshO ₴7Tue 14 Apr 14:38:43181* Unable to acce...*8> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
1655732051148903104
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 m100% 197ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER981DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh86-zshO ₴7Tue 14 Apr 14:38:43181* Unable to acce...*8> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
|
12781
|
275
|
10
|
2026-04-14T11:38:43.918856+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166723918_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormProject vFileFV faVsco.js vEditViewNavigat PhpStormProject vFileFV faVsco.js vEditViewNavigateCodeLaravelRefactorToolsWindowHelp• :1894 on.lY-18909-automated-renorts-ask-liminnv v© SendReportJob.php= custom.logA HS_local [iminny@localhost]ProphetAiv D Reports© AutomatedReportsC© AutomatedReportsRe© AutomatedReportsSt© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(c) minnv Deouacommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesCom© RecalculateDealRisksCaC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCorAddLayoutchuitles.onoCreateHeldActivityEvent.phpAutomaleakeporscommana.ongAutomatedReportsSendCommand.phpC Team.phpC AutomatedReportsRepository.php© AutomatedReportsService.phpCreateActivityLoggedEvent.phpconsole PROD© RequestGenerateAskJiminnyReportJob.phpTrackProviderInstalledEvent.php© ActivityLogged.phpRequestGeneratekeporJob.onoC AutomatedReportResult.phpE laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny v017 A15 X 13 A521© AutomatedReport.php522class AutomatedReportsCommand extends Command0 523524private function getReportById(string $reportId): Collection1525115401115/1158139140141142143144145146147148149150151152153154155156157158159160161162527$report = $this->reportRepository->findById0rUuid($reportId);528529if ($report === null) {530$this->logger->warning(self::LOG_PREFIX .' Report not found for --report-id',['reportld531$this->warn( string: "Report not found: {$reportId}");532533return collecto);534535if (! $report->getStatus()) {155455 A$this->logger->warning(self::LOG_PREFIX . ' Report is inactive, processing anyway (manual'reportId' = $reportId,539|'reportUuid' => $report->getUvid(),1);540541$this->warn( string: 'Report is inactive - processing anyway (manual override).');542543$team = $report->getTeam();if ($team->getStatus() !== Team::STATUS_ACTIVE) ($this->logger->warning(self::LOG_PREFIX'reportId' => $reportId,'reportUuid' => $report->getUuid(),'teamId' => $report->getTeamId(),'teamStatus' => $team->getStatus(),5445451546select * tron reans where 1o =15select x tron groups g Juin playbooks p1..n<->1: on a.plavbook id = p.id wiselect x t'ol arouoswhere id = 565:seleseledseledseledselect * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# 10, Uud, type, provider, playbooк_cаtegory-1o, user_1a,leao o, contact* cri conmouracionorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':15485495501);551552$this->warn( string: "Team #{$report->getTeamId()} is not active - processing anyway (manua"553554555if ($report->isExpired()) {$this->logger->warning(self::LOG_PREFIX . ' Report is expired, processing anyway (manual556557'reportId' => $reportId,'reportUuid' => $report->getUuid(),1558'expiresAt' => $report->getExpiresAt()?->toDateString(),SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1.n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;1661671681691701711721731741751761177178179180I):select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);$this->warn( string: 'Report is expired (expires_at:' . Sreport->getExpiresAt()?->toDateSti562563$this->info( string: self::LOG_PREFIX . ' Automated report found' . $report->getCustomName()) ;564565566return collect([$reportl);567568 Vselect * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results order by id desd;select * from automated_report_results where repontaid IN (36);570572Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)> 0lablf Support Daily • in 22 mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:38:43CascadeDebug Automated Rep+0 •Fetches AutomatedReportResult records where:generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwStep 2: getValidRecipientUsers()ets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipientsialor. ror recular reoorts l eoes tnrouen detkeclolentusers . clner way, te creator nas ancipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILsD phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.0 phpsnow = larbon::now searllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (884L)+ <> Code Claude Sonnet 4.6uir-o( 4 spaces...
|
NULL
|
-4520343578792331353
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormProject vFileFV faVsco.js vEditViewNavigat PhpStormProject vFileFV faVsco.js vEditViewNavigateCodeLaravelRefactorToolsWindowHelp• :1894 on.lY-18909-automated-renorts-ask-liminnv v© SendReportJob.php= custom.logA HS_local [iminny@localhost]ProphetAiv D Reports© AutomatedReportsC© AutomatedReportsRe© AutomatedReportsSt© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(c) minnv Deouacommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesCom© RecalculateDealRisksCaC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCorAddLayoutchuitles.onoCreateHeldActivityEvent.phpAutomaleakeporscommana.ongAutomatedReportsSendCommand.phpC Team.phpC AutomatedReportsRepository.php© AutomatedReportsService.phpCreateActivityLoggedEvent.phpconsole PROD© RequestGenerateAskJiminnyReportJob.phpTrackProviderInstalledEvent.php© ActivityLogged.phpRequestGeneratekeporJob.onoC AutomatedReportResult.phpE laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny v017 A15 X 13 A521© AutomatedReport.php522class AutomatedReportsCommand extends Command0 523524private function getReportById(string $reportId): Collection1525115401115/1158139140141142143144145146147148149150151152153154155156157158159160161162527$report = $this->reportRepository->findById0rUuid($reportId);528529if ($report === null) {530$this->logger->warning(self::LOG_PREFIX .' Report not found for --report-id',['reportld531$this->warn( string: "Report not found: {$reportId}");532533return collecto);534535if (! $report->getStatus()) {155455 A$this->logger->warning(self::LOG_PREFIX . ' Report is inactive, processing anyway (manual'reportId' = $reportId,539|'reportUuid' => $report->getUvid(),1);540541$this->warn( string: 'Report is inactive - processing anyway (manual override).');542543$team = $report->getTeam();if ($team->getStatus() !== Team::STATUS_ACTIVE) ($this->logger->warning(self::LOG_PREFIX'reportId' => $reportId,'reportUuid' => $report->getUuid(),'teamId' => $report->getTeamId(),'teamStatus' => $team->getStatus(),5445451546select * tron reans where 1o =15select x tron groups g Juin playbooks p1..n<->1: on a.plavbook id = p.id wiselect x t'ol arouoswhere id = 565:seleseledseledseledselect * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# 10, Uud, type, provider, playbooк_cаtegory-1o, user_1a,leao o, contact* cri conmouracionorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':15485495501);551552$this->warn( string: "Team #{$report->getTeamId()} is not active - processing anyway (manua"553554555if ($report->isExpired()) {$this->logger->warning(self::LOG_PREFIX . ' Report is expired, processing anyway (manual556557'reportId' => $reportId,'reportUuid' => $report->getUuid(),1558'expiresAt' => $report->getExpiresAt()?->toDateString(),SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1.n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;1661671681691701711721731741751761177178179180I):select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);$this->warn( string: 'Report is expired (expires_at:' . Sreport->getExpiresAt()?->toDateSti562563$this->info( string: self::LOG_PREFIX . ' Automated report found' . $report->getCustomName()) ;564565566return collect([$reportl);567568 Vselect * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results order by id desd;select * from automated_report_results where repontaid IN (36);570572Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)> 0lablf Support Daily • in 22 mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:38:43CascadeDebug Automated Rep+0 •Fetches AutomatedReportResult records where:generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwStep 2: getValidRecipientUsers()ets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipientsialor. ror recular reoorts l eoes tnrouen detkeclolentusers . clner way, te creator nas ancipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILsD phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.0 phpsnow = larbon::now searllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (884L)+ <> Code Claude Sonnet 4.6uir-o( 4 spaces...
|
12777
|
|
12782
|
274
|
17
|
2026-04-14T11:38:45.637915+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166725637_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 m100% 197Tue 14 Apr 14:38:45181ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKERDEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh86-zshO ₴7* Unable to acce...> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
-5124475011901308319
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 m100% 197Tue 14 Apr 14:38:45181ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKERDEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh86-zshO ₴7* Unable to acce...> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
12780
|
|
12783
|
274
|
18
|
2026-04-14T11:38:47.921712+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166727921_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 m100% <47ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER981DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh86-zshO ₴7Tue 14 Apr 14:38:47181* Unable to acce...*8> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
-8838324389021195115
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfilesWindowHel iTerm2ShellEditViewSessionScriptsProfilesWindowHelp(ah]Support Daily - in 22 m100% <47ec2-user@ip-10-30-93-249:~ec2-user@ip-10-30-...-zshDOCKER981DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}-zsh86-zshO ₴7Tue 14 Apr 14:38:47181* Unable to acce...*8> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
|
12784
|
275
|
11
|
2026-04-14T11:38:47.921747+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166727921_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodelaravelRefactonToo PhpStormFileFditViewNavigateCodelaravelRefactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny ~Project vD ProphetAiv → Reports(C AutomatedReportsC(C) AutomatedReportsRe© AutomatedReportss© CreateMockAsKJimirC DeleteReportcomma© GenerateMarketingR©leam.phpC Usage.phpM Slack→ Teams→ Tracks_ TranscriptionD TwilioD Users_ Vocabulary_ 4oom© coachingeedbacksupcg command.phpc Crearevaroaseusers.oc Daraoase oecountoiC DeleteOldAiCrmNotesC(©) DeleteS3LeftoversCom|DevPostmanCommand.|C DiarizeViaAiParticipantk(©) EncryptTokensCommar(©) EngagementStatsReger© FeatureFlagsHelper.php© FixCrossTenantlssues.pC) FlushRolesPermissions((C) GeneratelnternalWebho(C) GroupSetDefaultLanquaC) HelperTruncateCoachin(©) HubspotJournalPollingC(©) HubspotWebhookServic(©) ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(c) minnv Deouacommanc(C) JiminnvSetEncrvotedTcC) JiminnvTokenInfoComm(C) MakeSlackLiveCoachinc(C) ManageScimForTeam.o(©) MarkBranchForEnvironn(C) MuteOrganizerChannel.(C) PhpApm.php(C PropagateCoachingFee(©) PurgeConterences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom(C) RecalculateDealRisksCdC) RemoveDeleteMarkersd(C) RemoveExpiredNudaes(C) RemoveUnusedParticio:C ResetElasticSearch.php(C) RestoreActivityCrmProv(C) RestoreActivityTypeCor• ReportController.php XC SendReportJob.php(©) AutomatedReportsCommand.php= custom.loc= laravel.logc SF liminny@localhost« HS_local fiminny@localhostC AutomatedReportsSendCommand.phpC AddLayoutEntities.phpC) Team.phpC AutomatedReportsRepository.phpAutomatedReportsService.php© CreateHeldActivityEvent.phpconsole PROD< console EUiL console [STAGING] :Tx: Auto vC UserPilotActivityListener.phpC ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong52015211© AutomatedReportResult.php© AutomatedReport.php524class Reportcontrouler extends Abstractcontrollerpublic function ready(Request srequest): Jsonkesponse1524'status' => sthis->callbackservice->getPrimarystatus(sreport, spayload),15251'response' => Spayload,15401generated_at= snow,5271):528// if a podcast is set, update it529"revorcroocastr->uooareui530starus → nuns-ocaluoackoeru ce-poetrodcasorarusoay coaou531response → spaycoad,532'generated at' => Snow.5331):1555$this->Logger->info(self::LOG_PREFIX •" Report has been processed', L'uuld' => sreportuuld,'child_uuld' => sreportPodcast?->getUu1do),1);53954090if (! $this->callbackService->isSuccess($payload)) {541$this->logger→>warning(self::LOG_PREFIX'Error creating report'. Spavload):54215431return response()->json(['status' => 'ok']):1544154511546// send the primary report154799101102103104105106107ITA8I11AO11191$this->dispatcher->dispatch(new SendReportJob($reportUuid));550551#I send the nodcast renort if it set and aenerated552if (SreportPodcast &s $reportPodcast->getStatus() === AutomatedReportResult:•STATUS 6553)Sthis->dispatcher->dispatch.new SendReportJobCreportUuid: SreportPod>aetUuid55455515561// Track Datadog metrics for automated reports1558$automatedReport = $report->getReport:$this->callbackService->pushToDatadog($automatedReport, $report):if ($reportPodcast) {004112Sthis->callbackService->pushToDatadog(SautomatedReport, sreportPodcast):563113564114563115Sthis->eventDispatcher->dispatch.new_AutomatedReportGeneratedSautomatedReport.Sreport)l 5661161177 catch (ModelNotFoundException $exception) &567sthis->Loqger->error(self::L06_PREFIX." Report not found',568 v118'uuid' => SreportUuid.1569119'error' => Sexception->getMessageO157011261):572122return response()->json(['status' => 'error', 'message' => 'Report not found']status: 4123} catch (Throwable $exception) {124-.---f-1c..LA AOPPTI PadnaddPushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)Flaycroundvt.owner_1d FROM soc1al_accounts saJOIN users u on u.1d = sa.soclable_1dJOIN teams tI.n<->I: on t.ld = U.team_1dliminny017 A15 У13 ^WHERE U.team_1d = 1 and sa.provider = salestorce :select * tron reans where 1o =15select x tron groupsg suin playpooks p1..n<->1: on a.plavbook id = p.id wiselect * TroIOIrOUOSnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175:select * from playbook categories where playbook 1d = 175:select * from users where team_1d = 1:select * from users where 1d = 7160;select * from crm_profiles where user_1d = 7160*select * trom reatures,select# 10, Uu10, type, proviaer, playbook_cacegory-1a, user_ia,leao o, contact* cri conmouracionorcirn orovoer 1oTranscrrocion orSTaTUSfrom activities where crm_confiquration id = 1 and type ='conference'# and crm_ provider id IS NOT NULLand provider != 'uploader' and actual start time IS NOT NULLORDER by id desc;select * from activities where 1d = 54/47785; # 0000400000pCZOJMAOselect p.1d, p.activity_type, pc.1d, pc.nameFRUM playdooks pJoin playdook_cacegories pc"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm fields WHERE crm confiquration id = 1 and obiect tvpe = "SELECT * FROM crm_ field values WHERE crm_ field id = 4select * from crm_layouts cl join playbook layouts pl1<->1..n: on cl.id = pwhere crm_configuration_1d = 1 and pl.playbooK_1d = 175;select * from teams;SELECI r.* FRUn aucomaced_reporus rjoin ceams t on r.ueam 10 = t.10WHERE r.trequency = "dally"and f. stauusAND t.status = 'activelAND (r.expires at >= now OR r.expires at IS NULD):select * from automated_report_results where report.id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932)select * from automated_reports order by 1d desc;select * tromautomated_report_results order by id desc;select * from automated_report_results where report id IN (36);labl• Support Daily • in 22 m100% [47]Tue 14 Apr 14:38:47AutomatedRenortsCommandTestCascadeDebug Automated Rep-1 ..rercnes Automaceakeporckesule recoras where.generated at is NOT NULLsent at is NULLstatus = STATUS GENERATED• has a related reportYour 7 results pass this.Sten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemall, so validRecipients is not emotv.vStep 3: shouldSendReporto — hisls whEkEllraiLs# phppublic const int SENT REPORT AT HOURS = 5;The logic picks the earliest timezone (highest UTC ortset = most ahead of UTC). For GMT+s, the oftset is +10800 seconds.t then checks.•phosnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;11 is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIfit's not 5:00 AM right now in GMT+3, it falls through to hasPassedSchedu ledTime() :® phppublic tunction hasPassedscheduledlimetrlarbonintertace sgeneratedAt, string stimezone): boounis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.wny Nothing is sentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven vou're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:scheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtUtc.lt(scheduledTimeUtc) Istalse→ hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (&+L+ <> Code Claude Sonnet 4.6w145:10uir-oia 4 spaces...
|
NULL
|
-9132137982724633123
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodelaravelRefactonToo PhpStormFileFditViewNavigateCodelaravelRefactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny ~Project vD ProphetAiv → Reports(C AutomatedReportsC(C) AutomatedReportsRe© AutomatedReportss© CreateMockAsKJimirC DeleteReportcomma© GenerateMarketingR©leam.phpC Usage.phpM Slack→ Teams→ Tracks_ TranscriptionD TwilioD Users_ Vocabulary_ 4oom© coachingeedbacksupcg command.phpc Crearevaroaseusers.oc Daraoase oecountoiC DeleteOldAiCrmNotesC(©) DeleteS3LeftoversCom|DevPostmanCommand.|C DiarizeViaAiParticipantk(©) EncryptTokensCommar(©) EngagementStatsReger© FeatureFlagsHelper.php© FixCrossTenantlssues.pC) FlushRolesPermissions((C) GeneratelnternalWebho(C) GroupSetDefaultLanquaC) HelperTruncateCoachin(©) HubspotJournalPollingC(©) HubspotWebhookServic(©) ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(c) minnv Deouacommanc(C) JiminnvSetEncrvotedTcC) JiminnvTokenInfoComm(C) MakeSlackLiveCoachinc(C) ManageScimForTeam.o(©) MarkBranchForEnvironn(C) MuteOrganizerChannel.(C) PhpApm.php(C PropagateCoachingFee(©) PurgeConterences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom(C) RecalculateDealRisksCdC) RemoveDeleteMarkersd(C) RemoveExpiredNudaes(C) RemoveUnusedParticio:C ResetElasticSearch.php(C) RestoreActivityCrmProv(C) RestoreActivityTypeCor• ReportController.php XC SendReportJob.php(©) AutomatedReportsCommand.php= custom.loc= laravel.logc SF liminny@localhost« HS_local fiminny@localhostC AutomatedReportsSendCommand.phpC AddLayoutEntities.phpC) Team.phpC AutomatedReportsRepository.phpAutomatedReportsService.php© CreateHeldActivityEvent.phpconsole PROD< console EUiL console [STAGING] :Tx: Auto vC UserPilotActivityListener.phpC ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong52015211© AutomatedReportResult.php© AutomatedReport.php524class Reportcontrouler extends Abstractcontrollerpublic function ready(Request srequest): Jsonkesponse1524'status' => sthis->callbackservice->getPrimarystatus(sreport, spayload),15251'response' => Spayload,15401generated_at= snow,5271):528// if a podcast is set, update it529"revorcroocastr->uooareui530starus → nuns-ocaluoackoeru ce-poetrodcasorarusoay coaou531response → spaycoad,532'generated at' => Snow.5331):1555$this->Logger->info(self::LOG_PREFIX •" Report has been processed', L'uuld' => sreportuuld,'child_uuld' => sreportPodcast?->getUu1do),1);53954090if (! $this->callbackService->isSuccess($payload)) {541$this->logger→>warning(self::LOG_PREFIX'Error creating report'. Spavload):54215431return response()->json(['status' => 'ok']):1544154511546// send the primary report154799101102103104105106107ITA8I11AO11191$this->dispatcher->dispatch(new SendReportJob($reportUuid));550551#I send the nodcast renort if it set and aenerated552if (SreportPodcast &s $reportPodcast->getStatus() === AutomatedReportResult:•STATUS 6553)Sthis->dispatcher->dispatch.new SendReportJobCreportUuid: SreportPod>aetUuid55455515561// Track Datadog metrics for automated reports1558$automatedReport = $report->getReport:$this->callbackService->pushToDatadog($automatedReport, $report):if ($reportPodcast) {004112Sthis->callbackService->pushToDatadog(SautomatedReport, sreportPodcast):563113564114563115Sthis->eventDispatcher->dispatch.new_AutomatedReportGeneratedSautomatedReport.Sreport)l 5661161177 catch (ModelNotFoundException $exception) &567sthis->Loqger->error(self::L06_PREFIX." Report not found',568 v118'uuid' => SreportUuid.1569119'error' => Sexception->getMessageO157011261):572122return response()->json(['status' => 'error', 'message' => 'Report not found']status: 4123} catch (Throwable $exception) {124-.---f-1c..LA AOPPTI PadnaddPushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)Flaycroundvt.owner_1d FROM soc1al_accounts saJOIN users u on u.1d = sa.soclable_1dJOIN teams tI.n<->I: on t.ld = U.team_1dliminny017 A15 У13 ^WHERE U.team_1d = 1 and sa.provider = salestorce :select * tron reans where 1o =15select x tron groupsg suin playpooks p1..n<->1: on a.plavbook id = p.id wiselect * TroIOIrOUOSnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175:select * from playbook categories where playbook 1d = 175:select * from users where team_1d = 1:select * from users where 1d = 7160;select * from crm_profiles where user_1d = 7160*select * trom reatures,select# 10, Uu10, type, proviaer, playbook_cacegory-1a, user_ia,leao o, contact* cri conmouracionorcirn orovoer 1oTranscrrocion orSTaTUSfrom activities where crm_confiquration id = 1 and type ='conference'# and crm_ provider id IS NOT NULLand provider != 'uploader' and actual start time IS NOT NULLORDER by id desc;select * from activities where 1d = 54/47785; # 0000400000pCZOJMAOselect p.1d, p.activity_type, pc.1d, pc.nameFRUM playdooks pJoin playdook_cacegories pc"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm fields WHERE crm confiquration id = 1 and obiect tvpe = "SELECT * FROM crm_ field values WHERE crm_ field id = 4select * from crm_layouts cl join playbook layouts pl1<->1..n: on cl.id = pwhere crm_configuration_1d = 1 and pl.playbooK_1d = 175;select * from teams;SELECI r.* FRUn aucomaced_reporus rjoin ceams t on r.ueam 10 = t.10WHERE r.trequency = "dally"and f. stauusAND t.status = 'activelAND (r.expires at >= now OR r.expires at IS NULD):select * from automated_report_results where report.id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932)select * from automated_reports order by 1d desc;select * tromautomated_report_results order by id desc;select * from automated_report_results where report id IN (36);labl• Support Daily • in 22 m100% [47]Tue 14 Apr 14:38:47AutomatedRenortsCommandTestCascadeDebug Automated Rep-1 ..rercnes Automaceakeporckesule recoras where.generated at is NOT NULLsent at is NULLstatus = STATUS GENERATED• has a related reportYour 7 results pass this.Sten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemall, so validRecipients is not emotv.vStep 3: shouldSendReporto — hisls whEkEllraiLs# phppublic const int SENT REPORT AT HOURS = 5;The logic picks the earliest timezone (highest UTC ortset = most ahead of UTC). For GMT+s, the oftset is +10800 seconds.t then checks.•phosnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;11 is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIfit's not 5:00 AM right now in GMT+3, it falls through to hasPassedSchedu ledTime() :® phppublic tunction hasPassedscheduledlimetrlarbonintertace sgeneratedAt, string stimezone): boounis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.wny Nothing is sentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven vou're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:scheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtUtc.lt(scheduledTimeUtc) Istalse→ hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (&+L+ <> Code Claude Sonnet 4.6w145:10uir-oia 4 spaces...
|
NULL
|
|
12787
|
274
|
20
|
2026-04-14T11:39:12.546968+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166752546_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER© 81DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 21 m100% 147ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO ₴7Tue 14 Apr 14:39:12181* Unable to acce...*- 88],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
-2397128144053376666
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER© 81DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 21 m100% 147ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO ₴7Tue 14 Apr 14:39:12181* Unable to acce...*- 88],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
|
12788
|
275
|
13
|
2026-04-14T11:39:12.535498+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166752535_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormProject vFileFV faVsco.js vViewNavigateCod PhpStormProject vFileFV faVsco.js vViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-iminny ~© ReportController.php x© SendReportJob.phpC AutomatedReportsSendCommand.phgAutomatedReportsCommand.php© AddLayoutEntities.phpleam.onoC AutomatedReportsRepository.php= custom.logA HS_local [iminny@localhost]© TranscriptionSum© UploadController.© ActionItemsControlle© ActivityController.phC) AiCrmNotesControllec baseconrolerona(C) ClientTokenControlle© CrmController.php© DealLevelPromptsCc© DealRiskController.pl© InstantMeetingContr© LanguageController.|© LayoutManagementc© LiveFeedController.p© MeetingsController.p© MessageController.pC) MetadataController.r© MobileSettingsContr© MomentController.ptNudgeController.phpNumberAllocatorConOrganizationLicense:OrganizationMember© OrganizationRetentic© OrganizationRolesCc© OrganizationSyncCol© PartnerController.ph|(c) PhoneNumberContrc© PlaybackController.p© PlaylistController.phpScimController.phpSidekickController.ptSoftphoneController.© SsoController.php© SubscriptionControll© TeamAiAutomationC© TeamAiContextContiTeamController.php© TeamInsightsControl© TranscriptionControl(C) TranslationControlle©UserController.phpVocabularyController> Auth> CustomerApi|C Internal• KioskD SettingsTelephonyWeshook.> MHubspot> MIntearationAopSubsc© ActivityProviderCont© ActivityTranscription© BaseController.phpCalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.phpconsole PROD) AutomatedReportsService.php) CreateActivityLoggedEvent.phpC AutomatedReportsCallbackService.php© ActivityLogged.phpRequestGenerateaskJiminnykeportJob.onpRequestGeneratekeporJob.ong520521E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny017 A15 Х13 A© AutomatedReportResult.phpAutomatecRenort.ohnclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'response' => Spayload,'generated_at'= show,15241):529$this->logger->info(self::LOG_PREFIX . ' Report has been processed', [530'uuid' => $reportUvid,531'child_uvid' => $reportPodcast?->getUvid(),5321):533534if (! $this->callbackService->isSuccess($payload)) {535$this->logger->warning(self::LOG_PREFIXError creating report', $payload);155455 Arewurn resconsel»> sonu'starus' s> 'ok538539540// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:541if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {542// send the primary report543$this->dispatcher->dispatch(new SendReportJob($reportUvid));54415451// send the podcast report if it set and generated1546if (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATEDSthis-›dispatcher-›dispatch(new SendReporggob(reportUuid: $reportPodcast->getUuid()));select * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect * 1r0Igroupsnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# 10, Uud, type, provider, playbook_category-1o, user_1a,leao o, contact* cri contouracionlorcirn orovoer 1oTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMAC1001011021031041051061071108109110111112113114115116117select p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':// Track Datadog metrics for automated reports$automatedReport = $report->getReport();$this->callbackService->pushToDatadog(SautomatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast);1548549550551552553554555556557558SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1.n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;$this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));} Catch (ModelNotFoundException $exception) {$this->logger->error(self::LOG_PREFIX"keport not round,lUuo => "redorcuulor'error' => $exception->getMessage(),select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);119120121122123124125126127128129115011):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['vuid' = $reportUvid,'error' => $exception->getMessage(),[IBAN] v569570select * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results order by id desd;select * from automated_report_results where reRontaid IN (36);1):retur resconse» sonustarus "error,'message' = 'Failed to update report status'], staPushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)loblSupport Daily • in 21mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:39:12CascadeDebug Automated Rep+0 •rercnes Automaceakeporckesule recoras where.generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwSten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemail, so validRecipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILs# phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.O phpsnow = larbon::now searllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC)Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (884L)+ <> Code Claude Sonnet 4.6W Winasunt leamsg9:ouir-o( 4 spaces...
|
NULL
|
-2798655109410860964
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormProject vFileFV faVsco.js vViewNavigateCod PhpStormProject vFileFV faVsco.js vViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-iminny ~© ReportController.php x© SendReportJob.phpC AutomatedReportsSendCommand.phgAutomatedReportsCommand.php© AddLayoutEntities.phpleam.onoC AutomatedReportsRepository.php= custom.logA HS_local [iminny@localhost]© TranscriptionSum© UploadController.© ActionItemsControlle© ActivityController.phC) AiCrmNotesControllec baseconrolerona(C) ClientTokenControlle© CrmController.php© DealLevelPromptsCc© DealRiskController.pl© InstantMeetingContr© LanguageController.|© LayoutManagementc© LiveFeedController.p© MeetingsController.p© MessageController.pC) MetadataController.r© MobileSettingsContr© MomentController.ptNudgeController.phpNumberAllocatorConOrganizationLicense:OrganizationMember© OrganizationRetentic© OrganizationRolesCc© OrganizationSyncCol© PartnerController.ph|(c) PhoneNumberContrc© PlaybackController.p© PlaylistController.phpScimController.phpSidekickController.ptSoftphoneController.© SsoController.php© SubscriptionControll© TeamAiAutomationC© TeamAiContextContiTeamController.php© TeamInsightsControl© TranscriptionControl(C) TranslationControlle©UserController.phpVocabularyController> Auth> CustomerApi|C Internal• KioskD SettingsTelephonyWeshook.> MHubspot> MIntearationAopSubsc© ActivityProviderCont© ActivityTranscription© BaseController.phpCalendarController.p© ReportController.php© SoftphoneWebhookC© AbstractController.phpconsole PROD) AutomatedReportsService.php) CreateActivityLoggedEvent.phpC AutomatedReportsCallbackService.php© ActivityLogged.phpRequestGenerateaskJiminnykeportJob.onpRequestGeneratekeporJob.ong520521E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny017 A15 Х13 A© AutomatedReportResult.phpAutomatecRenort.ohnclass ReportController extends AbstractControllerpublic function ready(Request $request): JsonResponse'response' => Spayload,'generated_at'= show,15241):529$this->logger->info(self::LOG_PREFIX . ' Report has been processed', [530'uuid' => $reportUvid,531'child_uvid' => $reportPodcast?->getUvid(),5321):533534if (! $this->callbackService->isSuccess($payload)) {535$this->logger->warning(self::LOG_PREFIXError creating report', $payload);155455 Arewurn resconsel»> sonu'starus' s> 'ok538539540// If one-off, send the report immediately, if not leave it for the scheduler (automated-reports:541if ($report->getReport()->getFrequency() === AutomatedReportsService::FREQUENCY_ONE_OFF) {542// send the primary report543$this->dispatcher->dispatch(new SendReportJob($reportUvid));54415451// send the podcast report if it set and generated1546if (SreportPodcast && $reportPodcast->getStatus() === AutomatedReportResult::STATUS_GENERATEDSthis-›dispatcher-›dispatch(new SendReporggob(reportUuid: $reportPodcast->getUuid()));select * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect * 1r0Igroupsnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# 10, Uud, type, provider, playbook_category-1o, user_1a,leao o, contact* cri contouracionlorcirn orovoer 1oTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMAC1001011021031041051061071108109110111112113114115116117select p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':// Track Datadog metrics for automated reports$automatedReport = $report->getReport();$this->callbackService->pushToDatadog(SautomatedReport, $report);if ($reportPodcast) {$this->callbackService->pushToDatadog($automatedReport, $reportPodcast);1548549550551552553554555556557558SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1.n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;$this->eventDispatcher->dispatch(new AutomatedReportGenerated($automatedReport, $report));} Catch (ModelNotFoundException $exception) {$this->logger->error(self::LOG_PREFIX"keport not round,lUuo => "redorcuulor'error' => $exception->getMessage(),select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);119120121122123124125126127128129115011):return response()->json(['status' => 'error','message' => 'Report not found'], status: 404);} catch (Throwable $exception) {$this->logger-›error(self::LOG_PREFIX . ' Failed to update report status', ['vuid' = $reportUvid,'error' => $exception->getMessage(),[IBAN] v569570select * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * fromautomated_report_results order by id desd;select * from automated_report_results where reRontaid IN (36);1):retur resconse» sonustarus "error,'message' = 'Failed to update report status'], staPushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)loblSupport Daily • in 21mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:39:12CascadeDebug Automated Rep+0 •rercnes Automaceakeporckesule recoras where.generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwSten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemail, so validRecipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILs# phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.O phpsnow = larbon::now searllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC)Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (884L)+ <> Code Claude Sonnet 4.6W Winasunt leamsg9:ouir-o( 4 spaces...
|
NULL
|
|
12790
|
274
|
22
|
2026-04-14T11:39:18.658901+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166758658_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER0 881DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 21 m100% 147ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO 87Tue 14 Apr 14:39:18181* Unable to acce...*8],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
-3988486006040956298
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER0 881DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 21 m100% 147ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO 87Tue 14 Apr 14:39:18181* Unable to acce...*8],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
|
12792
|
274
|
23
|
2026-04-14T11:39:21.822968+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166761822_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER© 81DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 21 m100% 147ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO ₴7Tue 14 Apr 14:39:21181* Unable to acce...*- 88],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
-7442872666548648140
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER© 81DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 21 m100% 147ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO ₴7Tue 14 Apr 14:39:21181* Unable to acce...*- 88],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
12790
|
|
12793
|
275
|
15
|
2026-04-14T11:39:21.792383+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166761792_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelRefactonToo PhpStormFileFditViewNavigateCodeLaravelRefactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny ~Project vProphetAiv → Reports(C AutomatedReportsC(C) AutomatedReportsRe(C) AutomatedReportsS© CreateMockAsKJimirC DeleteReportcomma© GenerateMarketingR©leam.phpC Usage.phpM Slack→ Teams→ Tracks_ TranscriptionD TwilioD Users_ Vocabulary_ 40om© coachingeedbacksupcg command.phpcreateDatabaseusers.pc Daraoase oecountoiC DeleteOldAiCrmNotesC(©) DeleteS3LeftoversCom|DevPostmanCommand./C DiarizeViaAiParticipantk(©) EncryptTokensCommar(©) EngagementStatsReger© FeatureFlagsHelper.php© FixCrossTenantlssues.pC) FlushRolesPermissions((C) GeneratelnternalWebho(C) GroupSetDefaultLanquaC) HelperTruncateCoachin(©) HubspotJournalPollingC(©) HubspotWebhookServic(©) ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(c) minnv Deouacommanc(C) JiminnvSetEncrvotedTcC) JiminnvTokenInfoComm(C) MakeSlackLiveCoachinc(C) ManageScimForTeam.o(©) MarkBranchForEnvironn(C) MuteOrganizerChannel.(C) PhpApm.php(C PropagateCoachingFee(©) PurgeConterences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom(C) RecalculateDealRisksCdC) RemoveDeleteMarkersd(C) RemoveExpiredNudaes(C) RemoveUnusedParticio:C ResetElasticSearch.php(C) RestoreActivityCrmProv(C) RestoreActivityTypeCor(©) ReportController.phpC SendReportJob.php X(©) AutomatedReportsCommand.php X= custom.loc= laravel.logc SF liminny@localhost« HS_local [EMAIL]) AutomatedReportsRepository.phpAutomatedReportsService.php© CreateHeldActivityEvent.phpe) TrackProvidernstallled-vent.onoconsole PROD4 console [EU1L console [STAGING]Tx: Auto vFlaycroundvC ActivityLogged.php520C RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong15211© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportscommand extends commandv 0J 523115/11581391401411421431441451146|147148114915015115215315415515715815916016116211661167168169170171172173117417517611771178117918015251private function getReportByTdstring SreportId): Collection154527Sreport = $this->reportRepository->findById0rUuid($reportid):528529if (Sreport === nulb) 1530sthis->Logger->warning(self::LOG_PREFIX .• Report not found for --report-1d',L'reportid531sthis->warn( string: "Report not found: isreportia");return collecto);153253515.54115531554if @ Sreport->getStatuso)Sthis->logger->warning(self::LOG PREFTX . ' Report is inactive. processina anvwav manuali'reportid' => Sreportid.''reportluid' => $report->getluido.55 AI);sthis->warn( string: 'Report 1s 1nactive - processing anyway (manual override).')*$team = $report->getTeam():if ($team->getStatus() !== Team::STATUS_ACTIVE) {$this->logger->warning(self::LOG_PREFIX .'reportId' => SreportId.'reportluid' => Sreport-›getUuido.'teamId' => $report->getTeamId(),'teamStatus' => $team->getStatus(),1):5395405415421543154415451154615471548549550551552$this->warn( string: "Team #$report-›getleamidOr is not active - processing anyway (manua]553554if (Srenort->isFxpiredO) {55515561$this->logger->warning(self::LOG_PREFIX . ' Report is expired, processing anyway (manual'reportId' => SreportId.'reportluid' => Sreport-›getUuido.1558'expiresAt' => Sreport->getExpiresAtO?->toDateStringo.I):$this->warn( string: 'Report is expired (expires_at:" • Sreport->getexpiresAt(?->toDateSti562563$this->info( string: self::LOG_PREFIX . ' Automated report found' . $report->getCustomName()):564156515661return collect(lsreport5675o8 M15701572Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)t.owner_1d FROM soc1al_accounts saliminny017 A 15 V13 ^JolN users u on u.1d = sa.soclable_1dJOIN teams tI.n<->I: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = salestorce :select * tron reans where 1o =15select x tron groups g Juin playbooks p1..n<->1: on a.plavbook id = p.id wiselect * 1r0Iorouosnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175:select * from playbook categories where playbook 1d = 175:select * from users where team_1d = 1:select * from users where 1d = 7160;select * from crm_profiles where user_1d = 7160*select * trom reatures,select# 10, Uud, type, provider, playbook_category-1o, user_1a,leao o, contact* cri conmouracionorcirn orovoer LorTranscrrocion orSTaTUSfrom activities where crm_confiquration id = 1 and type ='conference'# and crm_ provider id IS NOT NULLand provider != 'uploader' and actual start time IS NOT NULLORDER by id desc;select * from activities where 1d = 54/47783; # 0000400000pCZOJMACselect p.1d, p.activity_type, pc.1d, pc.nameFRUM playdooks pjoin playpook_categories pe"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm fields WHERE crm confiquration id = 1 and obiect tvoe = "SELECT * FROM crm_ field values WHERE crm_ field id = 4select * from crm_layouts cl join playbook layouts pl1<->1..n: on cl.id = pwhere crm_configuration_1d = 1 and pl.playbooK_1d = 175:select * from teams:SELECI r.* FRUn aucomaced_reporus rjoin ceams t on r.ueam 10 = t.10WHERE r.trequency = "dally"and f.stauus-AND t.status = 'activelAND (r.expires at >= now OR r.expires at IS NULD):select * from automated_report_results where report.id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932:select * from automated_reports order by 1d desc;select * tromautomated_report_results order by id desc;select * from automated_report_results where report id IN (36);lobl: Support Daily • in 21 m100% [47]Tue 14 Apr 14:39:21AutomatedRenortsCommandTestCascadeDebug Automated Reprercnes Automaceakeporckesule recoras where.generated at is NOT NULLsent at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.Sten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemall, so validRecipients is not emotv.vStep 3: shouldSendReporto — hisls whEkEllraiLs# phppublic const int SENT REPORT AT HOURS = 5;The logic picks the earliest timezone (highest UTC oftset = most ahead of UTC). For GMT+s, the offset is +10800 seconds.t then checks.•phosnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;11 is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIfit's not 5:00 AM right now in GMT+3, it falls through to hasPassedSchedu ledTime() :® phppublic tunction hasPassedscheduledlimetrlarbonintertace sgeneratedAt, string stimezone): boounis checks.generatedAt < 65:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.wny Nothing is sentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven vou're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:scheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtUtc.lt(scheduledTimeUtc) istalse→ hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (&+L+ <> Code Claude Sonnet 4.6w145:10uir-oia 4 spaces...
|
NULL
|
688475168542822369
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodeLaravelRefactonToo PhpStormFileFditViewNavigateCodeLaravelRefactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny ~Project vProphetAiv → Reports(C AutomatedReportsC(C) AutomatedReportsRe(C) AutomatedReportsS© CreateMockAsKJimirC DeleteReportcomma© GenerateMarketingR©leam.phpC Usage.phpM Slack→ Teams→ Tracks_ TranscriptionD TwilioD Users_ Vocabulary_ 40om© coachingeedbacksupcg command.phpcreateDatabaseusers.pc Daraoase oecountoiC DeleteOldAiCrmNotesC(©) DeleteS3LeftoversCom|DevPostmanCommand./C DiarizeViaAiParticipantk(©) EncryptTokensCommar(©) EngagementStatsReger© FeatureFlagsHelper.php© FixCrossTenantlssues.pC) FlushRolesPermissions((C) GeneratelnternalWebho(C) GroupSetDefaultLanquaC) HelperTruncateCoachin(©) HubspotJournalPollingC(©) HubspotWebhookServic(©) ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(c) minnv Deouacommanc(C) JiminnvSetEncrvotedTcC) JiminnvTokenInfoComm(C) MakeSlackLiveCoachinc(C) ManageScimForTeam.o(©) MarkBranchForEnvironn(C) MuteOrganizerChannel.(C) PhpApm.php(C PropagateCoachingFee(©) PurgeConterences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom(C) RecalculateDealRisksCdC) RemoveDeleteMarkersd(C) RemoveExpiredNudaes(C) RemoveUnusedParticio:C ResetElasticSearch.php(C) RestoreActivityCrmProv(C) RestoreActivityTypeCor(©) ReportController.phpC SendReportJob.php X(©) AutomatedReportsCommand.php X= custom.loc= laravel.logc SF liminny@localhost« HS_local [EMAIL]) AutomatedReportsRepository.phpAutomatedReportsService.php© CreateHeldActivityEvent.phpe) TrackProvidernstallled-vent.onoconsole PROD4 console [EU1L console [STAGING]Tx: Auto vFlaycroundvC ActivityLogged.php520C RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong15211© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportscommand extends commandv 0J 523115/11581391401411421431441451146|147148114915015115215315415515715815916016116211661167168169170171172173117417517611771178117918015251private function getReportByTdstring SreportId): Collection154527Sreport = $this->reportRepository->findById0rUuid($reportid):528529if (Sreport === nulb) 1530sthis->Logger->warning(self::LOG_PREFIX .• Report not found for --report-1d',L'reportid531sthis->warn( string: "Report not found: isreportia");return collecto);153253515.54115531554if @ Sreport->getStatuso)Sthis->logger->warning(self::LOG PREFTX . ' Report is inactive. processina anvwav manuali'reportid' => Sreportid.''reportluid' => $report->getluido.55 AI);sthis->warn( string: 'Report 1s 1nactive - processing anyway (manual override).')*$team = $report->getTeam():if ($team->getStatus() !== Team::STATUS_ACTIVE) {$this->logger->warning(self::LOG_PREFIX .'reportId' => SreportId.'reportluid' => Sreport-›getUuido.'teamId' => $report->getTeamId(),'teamStatus' => $team->getStatus(),1):5395405415421543154415451154615471548549550551552$this->warn( string: "Team #$report-›getleamidOr is not active - processing anyway (manua]553554if (Srenort->isFxpiredO) {55515561$this->logger->warning(self::LOG_PREFIX . ' Report is expired, processing anyway (manual'reportId' => SreportId.'reportluid' => Sreport-›getUuido.1558'expiresAt' => Sreport->getExpiresAtO?->toDateStringo.I):$this->warn( string: 'Report is expired (expires_at:" • Sreport->getexpiresAt(?->toDateSti562563$this->info( string: self::LOG_PREFIX . ' Automated report found' . $report->getCustomName()):564156515661return collect(lsreport5675o8 M15701572Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)t.owner_1d FROM soc1al_accounts saliminny017 A 15 V13 ^JolN users u on u.1d = sa.soclable_1dJOIN teams tI.n<->I: on t.1d = u.team_1dWHERE U.team_1d = 1 and sa.provider = salestorce :select * tron reans where 1o =15select x tron groups g Juin playbooks p1..n<->1: on a.plavbook id = p.id wiselect * 1r0Iorouosnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175:select * from playbook categories where playbook 1d = 175:select * from users where team_1d = 1:select * from users where 1d = 7160;select * from crm_profiles where user_1d = 7160*select * trom reatures,select# 10, Uud, type, provider, playbook_category-1o, user_1a,leao o, contact* cri conmouracionorcirn orovoer LorTranscrrocion orSTaTUSfrom activities where crm_confiquration id = 1 and type ='conference'# and crm_ provider id IS NOT NULLand provider != 'uploader' and actual start time IS NOT NULLORDER by id desc;select * from activities where 1d = 54/47783; # 0000400000pCZOJMACselect p.1d, p.activity_type, pc.1d, pc.nameFRUM playdooks pjoin playpook_categories pe"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm fields WHERE crm confiquration id = 1 and obiect tvoe = "SELECT * FROM crm_ field values WHERE crm_ field id = 4select * from crm_layouts cl join playbook layouts pl1<->1..n: on cl.id = pwhere crm_configuration_1d = 1 and pl.playbooK_1d = 175:select * from teams:SELECI r.* FRUn aucomaced_reporus rjoin ceams t on r.ueam 10 = t.10WHERE r.trequency = "dally"and f.stauus-AND t.status = 'activelAND (r.expires at >= now OR r.expires at IS NULD):select * from automated_report_results where report.id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932:select * from automated_reports order by 1d desc;select * tromautomated_report_results order by id desc;select * from automated_report_results where report id IN (36);lobl: Support Daily • in 21 m100% [47]Tue 14 Apr 14:39:21AutomatedRenortsCommandTestCascadeDebug Automated Reprercnes Automaceakeporckesule recoras where.generated at is NOT NULLsent at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.Sten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemall, so validRecipients is not emotv.vStep 3: shouldSendReporto — hisls whEkEllraiLs# phppublic const int SENT REPORT AT HOURS = 5;The logic picks the earliest timezone (highest UTC oftset = most ahead of UTC). For GMT+s, the offset is +10800 seconds.t then checks.•phosnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;11 is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIfit's not 5:00 AM right now in GMT+3, it falls through to hasPassedSchedu ledTime() :® phppublic tunction hasPassedscheduledlimetrlarbonintertace sgeneratedAt, string stimezone): boounis checks.generatedAt < 65:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.wny Nothing is sentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven vou're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:scheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtUtc.lt(scheduledTimeUtc) istalse→ hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (&+L+ <> Code Claude Sonnet 4.6w145:10uir-oia 4 spaces...
|
NULL
|
|
12794
|
274
|
24
|
2026-04-14T11:39:23.870233+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166763870_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER• ₴1DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 21 m100% 147Tue 14 Apr 14:39:23181ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO ₴7* Unable to acce...],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
8621591996731581149
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER• ₴1DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 21 m100% 147Tue 14 Apr 14:39:23181ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO ₴7* Unable to acce...],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
|
12795
|
274
|
25
|
2026-04-14T11:39:28.840084+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166768840_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER© 81DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 21 m100% 147ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO 87Tue 14 Apr 14:39:28181* Unable to acce...€ 888],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
-8469518220389476256
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER© 81DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 21 m100% 147ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO 87Tue 14 Apr 14:39:28181* Unable to acce...€ 888],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
12794
|
|
12796
|
275
|
16
|
2026-04-14T11:39:28.835783+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166768835_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormProject vFileFV faVsco.js vEditViewNavigat PhpStormProject vFileFV faVsco.js vEditViewNavigateCodeLaravelRefactorTools#11894 on JY-18909-automated-reports-ask-iminny ~WindowHelp© AutomatedReportsCi© AutomatedReportsRr© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpIsackM TeamsD TracksD TranscriptionD TwilioO UsersVocabularyD Zoom© CoachingFeedbacksUpr© Command.php© CreateDatabaseUsers.p(e) Database aoecount.oic DelereoeAcimnorescc Deleress eroverscom® DevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantlssues.p© FlushRolesPermissionsC© GeneratelnternalWebho© GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.phpImportUsersFromCsvFil© IterateUsersCommand.fc.liminnveacheclearcom(©) JiminnyDebugCommanc(©) JiminnySetEncryptedTo(C) .JiminnvTokeninfoComm© MakeSlackLiveCoachins© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesComi© RecalculateDealRisksCo(C) RemoveDeleteMarkersd(c) Remove-XoiredNuddes© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© SeedActivities.php© SyncActivity.php© ReportController.php© SendReportJob.phpAutomatedReportsCommand.php© AutomatedReportsSendCommand.phpAadLayoutchutles.onc leam.ongC) AutomatedReportsRepository.php= custom.logconsole PROD© AutomatedReportsService.phpTrackProviderInstalledEvent.php© ActivityLogged.php•Automareakeporscallbackservice.ongC RequestGenerateAskJiminnyReportJob.php© AutomatedReportResult.phpe AutomatedRenort.onnclass AutomatedReportsSendCommand extends CommandRequestGeneratekeporJob.ong521522= laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';A HS_local [iminny@localhost]Sa jiminny v017 A15 Х13 A25 Ct32 Ct35 Ct3941445556C&889988*ne nome one stendrure of tne console commond.*ovar scringprotected $signature = 'automated-reports:send';/*** The console command description.* Ovar string52415251154015275285295305315325335345351554protected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,private readonly AutomatedReportsService $automatedReportsService,private readonly BusDispatcher $dispatcher,parent::__construct();/*** Execute the console command.* Qreturn intpublic function handle(): int155000%54054154254354454554654715481547550551552553554555556foreach (SrenortResults as SrevortResult) {1558/** Ovar AutomatedReportResult $reportResult */$validRecipients = $this->automatedReportsService->getValidRecipientUsers($reportResult->g560if ($this->automatedReportsService->shouldSen|dReport($validRecipients, $reportResult->get$561$this->logger->info(self::LOG_PREFIX'Dispatching job',1);$this->dispatcher->dispatch(new SendReportJob($reportResult->getUuid()));562563564565566567568 V569570571572select * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect x Tolgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id,leao o, contact* cri conmouracionorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks Pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status ='active'AND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);return CommandALias: : SUCCESS;select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)loblSupport Daily • in 21mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:39:28CascadeDebug Automated Rep+0 •rercnes Automaceakeporckesule recoras where.generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwSten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemail, so validRecipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILsD phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.0 phpsnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerumns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (884L)+ <> Code Claude Sonnet 4.6Winasun leams50:00uir-o( 4 spaces...
|
NULL
|
1016612370763958503
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormProject vFileFV faVsco.js vEditViewNavigat PhpStormProject vFileFV faVsco.js vEditViewNavigateCodeLaravelRefactorTools#11894 on JY-18909-automated-reports-ask-iminny ~WindowHelp© AutomatedReportsCi© AutomatedReportsRr© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpIsackM TeamsD TracksD TranscriptionD TwilioO UsersVocabularyD Zoom© CoachingFeedbacksUpr© Command.php© CreateDatabaseUsers.p(e) Database aoecount.oic DelereoeAcimnorescc Deleress eroverscom® DevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantlssues.p© FlushRolesPermissionsC© GeneratelnternalWebho© GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.phpImportUsersFromCsvFil© IterateUsersCommand.fc.liminnveacheclearcom(©) JiminnyDebugCommanc(©) JiminnySetEncryptedTo(C) .JiminnvTokeninfoComm© MakeSlackLiveCoachins© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesComi© RecalculateDealRisksCo(C) RemoveDeleteMarkersd(c) Remove-XoiredNuddes© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© SeedActivities.php© SyncActivity.php© ReportController.php© SendReportJob.phpAutomatedReportsCommand.php© AutomatedReportsSendCommand.phpAadLayoutchutles.onc leam.ongC) AutomatedReportsRepository.php= custom.logconsole PROD© AutomatedReportsService.phpTrackProviderInstalledEvent.php© ActivityLogged.php•Automareakeporscallbackservice.ongC RequestGenerateAskJiminnyReportJob.php© AutomatedReportResult.phpe AutomatedRenort.onnclass AutomatedReportsSendCommand extends CommandRequestGeneratekeporJob.ong521522= laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';A HS_local [iminny@localhost]Sa jiminny v017 A15 Х13 A25 Ct32 Ct35 Ct3941445556C&889988*ne nome one stendrure of tne console commond.*ovar scringprotected $signature = 'automated-reports:send';/*** The console command description.* Ovar string52415251154015275285295305315325335345351554protected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,private readonly AutomatedReportsService $automatedReportsService,private readonly BusDispatcher $dispatcher,parent::__construct();/*** Execute the console command.* Qreturn intpublic function handle(): int155000%54054154254354454554654715481547550551552553554555556foreach (SrenortResults as SrevortResult) {1558/** Ovar AutomatedReportResult $reportResult */$validRecipients = $this->automatedReportsService->getValidRecipientUsers($reportResult->g560if ($this->automatedReportsService->shouldSen|dReport($validRecipients, $reportResult->get$561$this->logger->info(self::LOG_PREFIX'Dispatching job',1);$this->dispatcher->dispatch(new SendReportJob($reportResult->getUuid()));562563564565566567568 V569570571572select * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect x Tolgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id,leao o, contact* cri conmouracionorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks Pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status ='active'AND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);return CommandALias: : SUCCESS;select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)loblSupport Daily • in 21mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:39:28CascadeDebug Automated Rep+0 •rercnes Automaceakeporckesule recoras where.generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwSten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemail, so validRecipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILsD phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.0 phpsnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerumns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (884L)+ <> Code Claude Sonnet 4.6Winasun leams50:00uir-o( 4 spaces...
|
12793
|
|
12797
|
274
|
26
|
2026-04-14T11:39:40.453207+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166780453_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER© *1DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 21 m100% 147Tue 14 Apr 14:39:40181ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO 87* Unable to acce... →- *8],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
-9203216271302934042
|
NULL
|
click
|
ocr
|
NULL
|
iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKE iTerm2ShellEditViewSessionScriptsProfiles•• 0DOCKER© *1DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},WindowHelp(ahlSupport Daily - in 21 m100% 147Tue 14 Apr 14:39:40181ec2-user@ip-10-30-...ec2-user@ip-10-30-93-249:~-zsh-zsh86-zshO 87* Unable to acce... →- *8],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|...
|
NULL
|
|
12798
|
275
|
17
|
2026-04-14T11:39:40.416894+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166780416_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormProject vFileFV faVsco.js vEditViewNavigat PhpStormProject vFileFV faVsco.js vEditViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-iminny ~© AutomatedReportsCi© AutomatedReportsRr© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpIsackM TeamsD TracksD TranscriptionD TwilioO UsersVocabularyD Zoom© CoachingFeedbacksUpr© Command.php© CreateDatabaseUsers.pDatabaseTableCount.ptc DeleredoAcimnorescc Deleress eroverscom(C DevPostmanCommand.© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantlssues.p© FlushRolesPermissionsC© GeneratelnternalWebhoGroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.phpImportUsersFromCsvFil© IterateUsersCommand.fc.liminnveacheclearcom(©) JiminnyDebugCommanc(©) JiminnySetEncryptedTo(C) .JiminnvTokeninfoComm© MakeSlackLiveCoachins© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesComi© RecalculateDealRisksCo(C) RemoveDeleteMarkersd© RemoveExpiredNudgesi© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© SeedActivities.php© SyncActivity.php© ReportController.php© SendReportJob.php© AutomatedReport&.ommand.php x© AutomatedReportsSendCommand.phpAadLayoutchutles.onc leam.ong= custom.logC) AutomatedReportsRepository.phpconsole PROD© AutomatedReportsService.phpTrackProviderInstalledEvent.php© ActivityLogged.php•Automareakeporscallbackservice.ongC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command521522= laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';A HS_local [iminny@localhost]Sa jiminny v017 A15 Х13 A25 Ct32 Ct3941444554*ne nome one stendrure of tne console commond.*ovar scringprotected $signature = 'automated-reports:send';/*** The console command description.* Ovar string52415251154015275285295305315325335345351554protected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,private readonly AutomatedReportsService $automatedReportsService,private readonly BusDispatcher $dispatcher,parent::__construct();* Execute the console command.* Qreturn intpublic function handle(): int155000%54054154254354454554654715481547550551552553554555556foreach (SrenortResults as SrevortResult) {1558/** Ovar AutomatedReportResult $reportResult */$validRecipients = $this->automatedReportsService->getValidRecipientUsers($reportResult->g560if ($this->automatedReportsService->shouldSendReport($validRecipients, $reportResult->getG561$this->logger->info(self::LOG_PREFIXDispatching job',5621);563$this->dispatcher->dispatch(new SendReportJob($reportResult->getUuid()));select * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id,leao o, contact* cri conmouracionorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks Pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status ='activeAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);Cascade & TI568 Vreturn CommandALias: : SUCCESS;select * from activity_searches where id = 10932;om activity_search_filters where activity_search_id = 10932;Command 981om automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);571572Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)loblSupport Daily • in 21mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:39:40CascadeDebug Automated Rep+0 •rercnes Automaceakeporckesule recoras where.generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwSten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemail, so validRecipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILsD phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.0 phpsnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerumns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (84L)+ <> Code Claude Sonnet 4.6winasun leams61:1/ 3 charsuir-o( 4 spaces...
|
NULL
|
8931583717566048959
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormProject vFileFV faVsco.js vEditViewNavigat PhpStormProject vFileFV faVsco.js vEditViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-iminny ~© AutomatedReportsCi© AutomatedReportsRr© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpIsackM TeamsD TracksD TranscriptionD TwilioO UsersVocabularyD Zoom© CoachingFeedbacksUpr© Command.php© CreateDatabaseUsers.pDatabaseTableCount.ptc DeleredoAcimnorescc Deleress eroverscom(C DevPostmanCommand.© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantlssues.p© FlushRolesPermissionsC© GeneratelnternalWebhoGroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.phpImportUsersFromCsvFil© IterateUsersCommand.fc.liminnveacheclearcom(©) JiminnyDebugCommanc(©) JiminnySetEncryptedTo(C) .JiminnvTokeninfoComm© MakeSlackLiveCoachins© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesComi© RecalculateDealRisksCo(C) RemoveDeleteMarkersd© RemoveExpiredNudgesi© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© SeedActivities.php© SyncActivity.php© ReportController.php© SendReportJob.php© AutomatedReport&.ommand.php x© AutomatedReportsSendCommand.phpAadLayoutchutles.onc leam.ong= custom.logC) AutomatedReportsRepository.phpconsole PROD© AutomatedReportsService.phpTrackProviderInstalledEvent.php© ActivityLogged.php•Automareakeporscallbackservice.ongC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command521522= laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';A HS_local [iminny@localhost]Sa jiminny v017 A15 Х13 A25 Ct32 Ct3941444554*ne nome one stendrure of tne console commond.*ovar scringprotected $signature = 'automated-reports:send';/*** The console command description.* Ovar string52415251154015275285295305315325335345351554protected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,private readonly AutomatedReportsService $automatedReportsService,private readonly BusDispatcher $dispatcher,parent::__construct();* Execute the console command.* Qreturn intpublic function handle(): int155000%54054154254354454554654715481547550551552553554555556foreach (SrenortResults as SrevortResult) {1558/** Ovar AutomatedReportResult $reportResult */$validRecipients = $this->automatedReportsService->getValidRecipientUsers($reportResult->g560if ($this->automatedReportsService->shouldSendReport($validRecipients, $reportResult->getG561$this->logger->info(self::LOG_PREFIXDispatching job',5621);563$this->dispatcher->dispatch(new SendReportJob($reportResult->getUuid()));select * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id,leao o, contact* cri conmouracionorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks Pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status ='activeAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);Cascade & TI568 Vreturn CommandALias: : SUCCESS;select * from activity_searches where id = 10932;om activity_search_filters where activity_search_id = 10932;Command 981om automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);571572Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)loblSupport Daily • in 21mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:39:40CascadeDebug Automated Rep+0 •rercnes Automaceakeporckesule recoras where.generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwSten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemail, so validRecipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILsD phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.0 phpsnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerumns Talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (84L)+ <> Code Claude Sonnet 4.6winasun leams61:1/ 3 charsuir-o( 4 spaces...
|
NULL
|
|
12803
|
274
|
30
|
2026-04-14T11:40:08.397165+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166808397_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER0 81DEV SlackFileEditViewGoHistoryWindowHelpDOCKER0 81DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•More(ahl• Support Daily • in 20 ml100% <47Tue 14 Apr 14:40:08Search Jiminny IncJiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni...8. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
NULL
|
2973460419442606984
|
NULL
|
click
|
ocr
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER0 81DEV SlackFileEditViewGoHistoryWindowHelpDOCKER0 81DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•More(ahl• Support Daily • in 20 ml100% <47Tue 14 Apr 14:40:08Search Jiminny IncJiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni...8. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
NULL
|
|
12804
|
274
|
31
|
2026-04-14T11:40:10.808130+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166810808_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER3 281DEV SlackFileEditViewGoHistoryWindowHelpDOCKER3 281DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•More+(ahl• Support Daily • in 20 ml100% <47Tue 14 Apr 14:40:10Search Jiminny IncJiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni...P. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
NULL
|
-4262990894830121111
|
NULL
|
click
|
ocr
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER3 281DEV SlackFileEditViewGoHistoryWindowHelpDOCKER3 281DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•More+(ahl• Support Daily • in 20 ml100% <47Tue 14 Apr 14:40:10Search Jiminny IncJiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni...P. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
12803
|
|
12805
|
275
|
19
|
2026-04-14T11:40:10.808257+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166810808_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditViewProject vNavigateCodeLaravelRe PhpStormFileEditViewProject vNavigateCodeLaravelRefactorFVtavsco.isv#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(e) lminnv Deouacommanc© JiminnySetEncryptedTo(c) Jiminny okenintocomm© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesCom© RecalculateDealRisksCaC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© ReportController.php© SendReportJob.phpAutomatedReportsCommand.php© AutomatedReportsSendCommand.phpAadLayoutchuitles.onpc leam.ongC) AutomatedReportsRepository.php= custom.logconsole PROD© AutomatedReportsService.phpTrackProviderInstalledEvent.php© ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command521522E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';A HS_local [iminny@localhost]Sa jiminny v017 A15 X 13 A2425 GT2832 Ct35 Ct363839404142* The name and signature of the console command.* Ovar stringprotected $signature ='automated-reports:send';* The console command description.x ovar sarino52415251154015275285295305315325335345351554protected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,private readonly BusDispatcher $dispatcher,parent::__construct();/*** Execute the console command.* @return intpublic function handle(): int$reportResults = $this->reportRepository->getGeneratedNotSentResults();155000%54054154254354454554654715481547550551552553554555556foreach ($reportResults as $reportResult) {1558/** @var AutomatedReportResult $reportResult */$validRecipients = $this->automatedReportsService->getValidRecipientUsers($reportResult->g560if ($this->automatedReportsService->shouldSendReport($vaLidRecipients, $reportResult->getG561$this->logger->info(self::LOG_PREFIX'Dispatching job',562563I):564565$this->dispatcher->dispatch(new SendReportJob($reportResult->getUuid()));566567568 v569return CommandAZias::SUCCESS;570571572select * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id,leao o, contact* cri contouracionlorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks Pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where reRontaid IN (36);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)Support Daily - in 20 mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:40:10CascadeDebug Automated Rep+0 •Fetches AutomatedReportResult records where:generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwSten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemail, so validRecipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILs# phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.0 phpsnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC)Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurs talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (884L)+ <> Code Claude Sonnet 4.6winasun leamsuir-o( 4 spaces...
|
NULL
|
-4369171335426894713
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileEditViewProject vNavigateCodeLaravelRe PhpStormFileEditViewProject vNavigateCodeLaravelRefactorFVtavsco.isv#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(e) lminnv Deouacommanc© JiminnySetEncryptedTo(c) Jiminny okenintocomm© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesCom© RecalculateDealRisksCaC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© ReportController.php© SendReportJob.phpAutomatedReportsCommand.php© AutomatedReportsSendCommand.phpAadLayoutchuitles.onpc leam.ongC) AutomatedReportsRepository.php= custom.logconsole PROD© AutomatedReportsService.phpTrackProviderInstalledEvent.php© ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command521522E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';A HS_local [iminny@localhost]Sa jiminny v017 A15 X 13 A2425 GT2832 Ct35 Ct363839404142* The name and signature of the console command.* Ovar stringprotected $signature ='automated-reports:send';* The console command description.x ovar sarino52415251154015275285295305315325335345351554protected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,private readonly BusDispatcher $dispatcher,parent::__construct();/*** Execute the console command.* @return intpublic function handle(): int$reportResults = $this->reportRepository->getGeneratedNotSentResults();155000%54054154254354454554654715481547550551552553554555556foreach ($reportResults as $reportResult) {1558/** @var AutomatedReportResult $reportResult */$validRecipients = $this->automatedReportsService->getValidRecipientUsers($reportResult->g560if ($this->automatedReportsService->shouldSendReport($vaLidRecipients, $reportResult->getG561$this->logger->info(self::LOG_PREFIX'Dispatching job',562563I):564565$this->dispatcher->dispatch(new SendReportJob($reportResult->getUuid()));566567568 v569return CommandAZias::SUCCESS;570571572select * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id,leao o, contact* cri contouracionlorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks Pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where reRontaid IN (36);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)Support Daily - in 20 mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:40:10CascadeDebug Automated Rep+0 •Fetches AutomatedReportResult records where:generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwSten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemail, so validRecipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILs# phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.0 phpsnow = larbon::nowsearllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC)Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurs talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (884L)+ <> Code Claude Sonnet 4.6winasun leamsuir-o( 4 spaces...
|
NULL
|
|
12806
|
274
|
32
|
2026-04-14T11:40:13.614762+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166813614_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER981DEV ( SlackFileEditViewGoHistoryWindowHelpDOCKER981DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•More+(ahl• Support Daily • in 20 ml100% <47Tue 14 Apr 14:40:13Search Jiminny IncJiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni...P. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
NULL
|
3539597104413950871
|
NULL
|
click
|
ocr
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER981DEV ( SlackFileEditViewGoHistoryWindowHelpDOCKER981DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•More+(ahl• Support Daily • in 20 ml100% <47Tue 14 Apr 14:40:13Search Jiminny IncJiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni...P. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
NULL
|
|
12807
|
275
|
20
|
2026-04-14T11:40:13.611266+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166813611_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFVtavsco.isv#11894 on JY-18909-automated-reports-ask-iminny ~Project vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersC Vocabulary@Zoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(e) lminnv Deouacommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesCom© RecalculateDealRisksCaC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© ReportController.php© AutomatedReportsSendCommand.php© SendReportJob.phpAutomatedReportsCommand.phpAadLayoutchuitles.onp© Team.phpAutomatedReportsRepository.php© AutomatedReportsService.phpCreateHeldActivityEvent.php© TrackProviderInstalledEvent.php© UserPilotActivityListener.php© ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command/*** The name and signature of the console command.* Ovar string25 C• protected $signature = 'automated-reports:send';l28* The console command description.x ovar sarino32 Ctprotected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,3637383940private readonly BusDispatcher $dispatcher,42parent::__construct();/*** Execute the console command.* @return intpublic function handle(): intforeach ($reportResultsas $reportResult) {/** @var AutomatedReportResult $reportResult */'Dispatching job',I):61return CommandAZias::SUCCESS;Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)= custom.logA HS_local [iminny@localhost]console PROD521522152511540152752852953053153253353453515545405415425435445455461547154815475505515525535545555561558562563E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny v017 A15 X 13 Aselect * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id,leao o, contact* cri contouracionlorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeines.at IS NULL);select * from automated_report_results where repontaig IN (18, 33);565566567568 v569570571572select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where reRontaid IN (36);Support Daily - in 20 mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:40:13CascadeDebug Automated Rep+D ...Fetches AutomatedReportResult records where:generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwSten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemail, so validRecipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILs# phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.0 phpsnow = larbon::now searllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurs talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (884L)+ <> Code Claude Sonnet 4.6Winasun leams20:03uir-o( 4 spaces...
|
NULL
|
1695385774527295854
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileEditViewNavigateCodeLaravelRefactorToo PhpStormFileEditViewNavigateCodeLaravelRefactorToolsWindowHelpFVtavsco.isv#11894 on JY-18909-automated-reports-ask-iminny ~Project vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersC Vocabulary@Zoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(e) lminnv Deouacommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesCom© RecalculateDealRisksCaC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© ReportController.php© AutomatedReportsSendCommand.php© SendReportJob.phpAutomatedReportsCommand.phpAadLayoutchuitles.onp© Team.phpAutomatedReportsRepository.php© AutomatedReportsService.phpCreateHeldActivityEvent.php© TrackProviderInstalledEvent.php© UserPilotActivityListener.php© ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command/*** The name and signature of the console command.* Ovar string25 C• protected $signature = 'automated-reports:send';l28* The console command description.x ovar sarino32 Ctprotected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,3637383940private readonly BusDispatcher $dispatcher,42parent::__construct();/*** Execute the console command.* @return intpublic function handle(): intforeach ($reportResultsas $reportResult) {/** @var AutomatedReportResult $reportResult */'Dispatching job',I):61return CommandAZias::SUCCESS;Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)= custom.logA HS_local [iminny@localhost]console PROD521522152511540152752852953053153253353453515545405415425435445455461547154815475505515525535545555561558562563E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny v017 A15 X 13 Aselect * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id,leao o, contact* cri contouracionlorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeines.at IS NULL);select * from automated_report_results where repontaig IN (18, 33);565566567568 v569570571572select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where reRontaid IN (36);Support Daily - in 20 mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:40:13CascadeDebug Automated Rep+D ...Fetches AutomatedReportResult records where:generated at is NOT NULLsent_at is NULLstatus = STATUS_GENERATED• has a related reportYour 7 results pass this.VwSten 2: getValidRecipientlsersoFor each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients7 Includes creator. ror recular reoorts t eoes tnrouen detkeclolentusers . cltner way, tne creator nas anemail, so validRecipients is not empty. VStep 3: shouldSendReporto — Hisis whEkEllraILs# phppublic const int SENT_REPORT_AT_HOURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +10800 seconds.t then checks.0 phpsnow = larbon::now searllestlzcurrent cime in GMI+3$isScheduledTime = (int) $now->format('H') == 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTCIf it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime() :• phppublic tunction naspassedschedu ledlimerrlarbonintertace sgeneratedAt, string stimezone): booyunis checks.generatedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC.Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeurc, so nasrasseascheduleolime rerurs talse• OR the current time is betore 05:00 GMI+3→ nowltc Is NO > schedul edtimeltcGiven you're running this at 2:35 PM UTC+3 (14:35 local / 11:35 UTC), here's what happens:ScheduledTime = today at 05:00 GMT+3 = 02:00 UTCnow = 11:35 UTC → past scheduled time VgeneratedAt must be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtutc. lt(scheduledTimeUtc) is false → hasPassedScheduledTime returns false → nothing sends.In short: the report must have been generated before the scheduled send time (05:00 in the user'sTmezone rmlwas cenerarec aneroo0u cmito uwi ony de elcioe to senc omorrow ar0e0u cMilts,Ask anything (884L)+ <> Code Claude Sonnet 4.6Winasun leams20:03uir-o( 4 spaces...
|
12805
|
|
12814
|
274
|
36
|
2026-04-14T11:41:22.683222+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166882683_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER981DEV ( SlackFileEditViewGoHistoryWindowHelpDOCKER981DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•MoreJiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni...8. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...Support Daily - in 19 m100% <47Tue 14 Apr 14:41:22→Search Jiminny Inc# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
NULL
|
-6584039862756421682
|
NULL
|
click
|
ocr
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER981DEV ( SlackFileEditViewGoHistoryWindowHelpDOCKER981DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•MoreJiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni...8. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...Support Daily - in 19 m100% <47Tue 14 Apr 14:41:22→Search Jiminny Inc# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
NULL
|
|
12815
|
NULL
|
0
|
2026-04-14T11:41:22.698653+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166882698_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFVtavsco.isvProject vEditViewNavigateC PhpStormFileFVtavsco.isvProject vEditViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-iminny ~ProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase adecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gc).iminnvcacheclearcom© JiminnyDebugCommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom© RecalculateDealRisksCaC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© ReportController.php© SendReportJob.phpAutomatedReportsCommand.php© AutomatedReportsSendCommand.phpAadLayoutchuitles.onp= custom.logc leam.ongC AutomatedReportsRepository.phpconsole PROD© AutomatedReportsService.phpCreateHeldActivityEvent.phpCrealenctivityLoggeaevent.oneTrackProviderInstalledEvent.php© ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command521522E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';A HS_local [iminny@localhost]Sa jiminny017 A15 Х13 A2425 GT2832 Ct35 Ct363839404260616264* The name and signature of the console command.* Ovar stringprotected $signature = 'automated-reports:send';1525115401527528529530531* The console command description.535x ovar sarino535protected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,540541542private readonly BusDispatcher $dispatcher,parent::__construct();/*** Execute the console command.* @return intpublic function handle(): int$reportResults = $this->reportRepository->getGeneratedNotSentResults();544545546154715481547550551552553554555556557558foreach ($reportResults as $reportResult) {/** @var AutomatedReportResult $reportResult */$validRecipients = $this->automatedReportsService->getValidRecipientUsers($reportResult->g560$reportResult->get6 561'Dispatching job',562563]):select * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id,leao o, contact* cri conmouracionorciri orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type ="conterence"# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks Pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);return CommandAZias::SUCCESS;565566567568 v569570571572select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)hiilSupport Daily • in 19mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:41:22CascadeDebug Automated Rep+D ...sent at Is NULlstatus = STATUS_GENERATEDnas arelared reoortYour 7 results pass this.wStep 2: getValidRecipientUsers()For each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients()→ includes creator. For regular reports it goes through getRecipientUsers() . Either way, the creator has anemail, so validRecipients is not empty. VStep 3: shouldSendReport() - THIS IS WHERE IT FAILS• phppubLic const int SENI_REPORI_AI_HUURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +1080• secondsIt then checks:O php$now = Carbon::now($earliestTZ);// current time in GMT+3$1sScheduledTime = (int) $now->format('H') === 5;11 is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTC.If it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime()O phppublic function hasPassedScheduledTime(?CarbonInterface SgeneratedAt, string $timezone): boolTihis checksgeneratedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC)Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeltc so hasPassedScheduledTime returns false• OR the current time is before 05:00 GMT+3 → nowUtc is NOT > scheduledTimeUtcCven vou re runnine mnis auso rM Ulcrs 143 ocal111ouC nere's wnar naooens.schedullediime =ocavar0o.00cMis=7400 0Cnow = 11:35 UTC → past scheduled timegeneratedAtmust be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtUtc.lt(scheduledTimeUtc) isfalse → hasPassedScheduledTime returns false → nothing sendsin Snore the revoremustnave deen denerare. derore tne scheou ec senc time (0o.00 nmeuser'stimezone). If it was generated after 05:00 GMT+3, it will only be eligible to send tomorrow at 05:00 GMT+3.IN that case lets change the parameters for @AutomatedReportsSendCommand.php as well and lets add resultid to send and if foudn then do not check+ <› CodeWinasun leams50:5 1o charsuir-o( 4 spaces...
|
NULL
|
2599491551807491702
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFVtavsco.isvProject vEditViewNavigateC PhpStormFileFVtavsco.isvProject vEditViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-iminny ~ProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase adecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gc).iminnvcacheclearcom© JiminnyDebugCommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom© RecalculateDealRisksCaC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© ReportController.php© SendReportJob.phpAutomatedReportsCommand.php© AutomatedReportsSendCommand.phpAadLayoutchuitles.onp= custom.logc leam.ongC AutomatedReportsRepository.phpconsole PROD© AutomatedReportsService.phpCreateHeldActivityEvent.phpCrealenctivityLoggeaevent.oneTrackProviderInstalledEvent.php© ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command521522E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';A HS_local [iminny@localhost]Sa jiminny017 A15 Х13 A2425 GT2832 Ct35 Ct363839404260616264* The name and signature of the console command.* Ovar stringprotected $signature = 'automated-reports:send';1525115401527528529530531* The console command description.535x ovar sarino535protected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,540541542private readonly BusDispatcher $dispatcher,parent::__construct();/*** Execute the console command.* @return intpublic function handle(): int$reportResults = $this->reportRepository->getGeneratedNotSentResults();544545546154715481547550551552553554555556557558foreach ($reportResults as $reportResult) {/** @var AutomatedReportResult $reportResult */$validRecipients = $this->automatedReportsService->getValidRecipientUsers($reportResult->g560$reportResult->get6 561'Dispatching job',562563]):select * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id,leao o, contact* cri conmouracionorciri orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type ="conterence"# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks Pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);return CommandAZias::SUCCESS;565566567568 v569570571572select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)hiilSupport Daily • in 19mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:41:22CascadeDebug Automated Rep+D ...sent at Is NULlstatus = STATUS_GENERATEDnas arelared reoortYour 7 results pass this.wStep 2: getValidRecipientUsers()For each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients()→ includes creator. For regular reports it goes through getRecipientUsers() . Either way, the creator has anemail, so validRecipients is not empty. VStep 3: shouldSendReport() - THIS IS WHERE IT FAILS• phppubLic const int SENI_REPORI_AI_HUURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +1080• secondsIt then checks:O php$now = Carbon::now($earliestTZ);// current time in GMT+3$1sScheduledTime = (int) $now->format('H') === 5;11 is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTC.If it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime()O phppublic function hasPassedScheduledTime(?CarbonInterface SgeneratedAt, string $timezone): boolTihis checksgeneratedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC)Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeltc so hasPassedScheduledTime returns false• OR the current time is before 05:00 GMT+3 → nowUtc is NOT > scheduledTimeUtcCven vou re runnine mnis auso rM Ulcrs 143 ocal111ouC nere's wnar naooens.schedullediime =ocavar0o.00cMis=7400 0Cnow = 11:35 UTC → past scheduled timegeneratedAtmust be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtUtc.lt(scheduledTimeUtc) isfalse → hasPassedScheduledTime returns false → nothing sendsin Snore the revoremustnave deen denerare. derore tne scheou ec senc time (0o.00 nmeuser'stimezone). If it was generated after 05:00 GMT+3, it will only be eligible to send tomorrow at 05:00 GMT+3.IN that case lets change the parameters for @AutomatedReportsSendCommand.php as well and lets add resultid to send and if foudn then do not check+ <› CodeWinasun leams50:5 1o charsuir-o( 4 spaces...
|
NULL
|
|
12816
|
NULL
|
0
|
2026-04-14T11:41:23.980212+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166883980_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER3 281DEV SlackFileEditViewGoHistoryWindowHelpDOCKER3 281DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•More+Jiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni...P. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...Support Daily - in 19 m100% <47Tue 14 Apr 14:41:23→Search Jiminny Inc# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
NULL
|
511073142202790458
|
NULL
|
click
|
ocr
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER3 281DEV SlackFileEditViewGoHistoryWindowHelpDOCKER3 281DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•More+Jiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni...P. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...Support Daily - in 19 m100% <47Tue 14 Apr 14:41:23→Search Jiminny Inc# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
12814
|
|
12819
|
276
|
1
|
2026-04-14T11:41:32.141097+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166892141_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER-881DEV SlackFileEditViewGoHistoryWindowHelpDOCKER-881DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•MoreJiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni..P. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...Support Daily - in 19 m100% <47Tue 14 Apr 14:41:31→Search Jiminny Inc# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
NULL
|
-1891868065641308741
|
NULL
|
click
|
ocr
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER-881DEV SlackFileEditViewGoHistoryWindowHelpDOCKER-881DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•MoreJiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni..P. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...Support Daily - in 19 m100% <47Tue 14 Apr 14:41:31→Search Jiminny Inc# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
12817
|
|
12820
|
277
|
1
|
2026-04-14T11:41:32.622604+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166892622_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditFVtavsco.isvViewNavigateCodeLarave PhpStormFileEditFVtavsco.isvViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(e) Jminnv Deouacommanc(c)Jminnvser-ncrvotedio(c) Jiminny okenintocomm© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesCom© RecalculateDealRisksCa© RemoveDeleteMarkersC© RemoveExpiredNudgest© RemoveUnusedParticip:© RestoreActivityCrmProv© ReportController.php© SendReportJob.php© AutomatedReportsSendCommand.phpAutomatedReportsCommand.phpAadLayoutchuitles.onpc leam.ongC AutomatedReportsRepository.php© AutomatedReportsService.phpCreateHeldActivityEvent.php© UserPilotActivityListener.phpC RequestGenerateAskJiminnyReportJob.php© TrackProviderInstalledEvent.php© ActivityLogged.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command2425 GT2832 Ct35 Ct363839404142* The name and signature of the console command.* Ovar stringprotected $signature = 'automated-reports:send';* The console command description.x ovar sarinoprotected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly BusDispatcher $dispatcher,parent::__construct();/*** Execute the console command.* @return intpublic function handle(): int$reportResults = $this->reportRepository->getGeneratedNotSentResults();foreach ($reportResultsas $reportResult) {/** @var AutomatedReportResult $reportResult */'Dispatching job',I):return CommandAZias::SUCCESS;Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)= custom.logA HS_local [iminny@localhost]console PROD52152215251154015275285295305315325335345351554155000%540541542543544545546547154815475505515525535545555565571558$reportResult->getG561562563564-565566567568 V569570571572E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny017 A15 Х13 Aselect * tron reans where 1o =15select x tron groups g Juin playbooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id,leao o, contact* cri conmouracionorciri orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type ="conterence"# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where reRontaid IN (36);hiilSupport Daily • in 19mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:41:32CascadeDebug Automated Rep+D ..sent at Is NULlstatus = STATUS_GENERATEDnas arelared reoortYour 7 results pass this.Step 2: getValidRecipientUsers()For each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients()→ includes creator. For regular reports it goes through getRecipientUsers() . Either way, the creator has anemail, so validRecipients is not empty. VStep 3: shouldSendReport() - THIS IS WHERE IT FAILS• phppubLic const int SENI_REPORI_AI_HUURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +1080• secondsIt then checks:O php$now = Carbon::now($earliestTZ);// current time in GMT+3$1sScheduledTime = (int) $now->format('H') === 5;11 is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTC.If it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime()O phppublic function hasPassedScheduledTime(?CarbonInterface SgeneratedAt, string $timezone): boolTihis checksgeneratedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC)Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeltc so hasPassedScheduledTime returns false• OR the current time is before 05:00 GMT+3 → nowUtc is NOT > scheduledTimeUtcCven vou re runnine mnis auso rM Ulcrs 143 ocal111ouC nere's wnar naooens.schedu ledtime = today at 0o.00 GMIfs= 02.00U1enow = 11:35 UTC → past scheduled timegeneratedAtmust be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtUtc.lt(scheduledTimeUtc) isfalse → hasPassedScheduledTime returns false → nothing sendsin Snore the revoremustnave deen denerare. derore tne scheou ec senc time (0o.00 nmeuser'stimezone). If it was generated after 05:00 GMT+3, it will only be eligible to send tomorrow at 05:00 GMT+3.IN that case lets change the parameters for @AutomatedReportsSendCommand. php as well and lets add resultid to send and if foudn then do not check shouldSendReport but call direct|+ <> Codewinasun leamsblb2 13 charsuir-o( 4 spaces...
|
NULL
|
-8198225191931687134
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileEditFVtavsco.isvViewNavigateCodeLarave PhpStormFileEditFVtavsco.isvViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(e) Jminnv Deouacommanc(c)Jminnvser-ncrvotedio(c) Jiminny okenintocomm© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesCom© RecalculateDealRisksCa© RemoveDeleteMarkersC© RemoveExpiredNudgest© RemoveUnusedParticip:© RestoreActivityCrmProv© ReportController.php© SendReportJob.php© AutomatedReportsSendCommand.phpAutomatedReportsCommand.phpAadLayoutchuitles.onpc leam.ongC AutomatedReportsRepository.php© AutomatedReportsService.phpCreateHeldActivityEvent.php© UserPilotActivityListener.phpC RequestGenerateAskJiminnyReportJob.php© TrackProviderInstalledEvent.php© ActivityLogged.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command2425 GT2832 Ct35 Ct363839404142* The name and signature of the console command.* Ovar stringprotected $signature = 'automated-reports:send';* The console command description.x ovar sarinoprotected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly BusDispatcher $dispatcher,parent::__construct();/*** Execute the console command.* @return intpublic function handle(): int$reportResults = $this->reportRepository->getGeneratedNotSentResults();foreach ($reportResultsas $reportResult) {/** @var AutomatedReportResult $reportResult */'Dispatching job',I):return CommandAZias::SUCCESS;Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)= custom.logA HS_local [iminny@localhost]console PROD52152215251154015275285295305315325335345351554155000%540541542543544545546547154815475505515525535545555565571558$reportResult->getG561562563564-565566567568 V569570571572E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny017 A15 Х13 Aselect * tron reans where 1o =15select x tron groups g Juin playbooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id,leao o, contact* cri conmouracionorciri orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type ="conterence"# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where reRontaid IN (36);hiilSupport Daily • in 19mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:41:32CascadeDebug Automated Rep+D ..sent at Is NULlstatus = STATUS_GENERATEDnas arelared reoortYour 7 results pass this.Step 2: getValidRecipientUsers()For each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients()→ includes creator. For regular reports it goes through getRecipientUsers() . Either way, the creator has anemail, so validRecipients is not empty. VStep 3: shouldSendReport() - THIS IS WHERE IT FAILS• phppubLic const int SENI_REPORI_AI_HUURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +1080• secondsIt then checks:O php$now = Carbon::now($earliestTZ);// current time in GMT+3$1sScheduledTime = (int) $now->format('H') === 5;11 is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTC.If it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime()O phppublic function hasPassedScheduledTime(?CarbonInterface SgeneratedAt, string $timezone): boolTihis checksgeneratedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC)Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT < scheduledTimeltc so hasPassedScheduledTime returns false• OR the current time is before 05:00 GMT+3 → nowUtc is NOT > scheduledTimeUtcCven vou re runnine mnis auso rM Ulcrs 143 ocal111ouC nere's wnar naooens.schedu ledtime = today at 0o.00 GMIfs= 02.00U1enow = 11:35 UTC → past scheduled timegeneratedAtmust be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtUtc.lt(scheduledTimeUtc) isfalse → hasPassedScheduledTime returns false → nothing sendsin Snore the revoremustnave deen denerare. derore tne scheou ec senc time (0o.00 nmeuser'stimezone). If it was generated after 05:00 GMT+3, it will only be eligible to send tomorrow at 05:00 GMT+3.IN that case lets change the parameters for @AutomatedReportsSendCommand. php as well and lets add resultid to send and if foudn then do not check shouldSendReport but call direct|+ <> Codewinasun leamsblb2 13 charsuir-o( 4 spaces...
|
NULL
|
|
12821
|
276
|
2
|
2026-04-14T11:41:33.536999+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166893536_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER₴81DEV ( SlackFileEditViewGoHistoryWindowHelpDOCKER₴81DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•MoreJiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni..P. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...Support Daily - in 19 m100% <47Tue 14 Apr 14:41:33→Search Jiminny Inc# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
NULL
|
-6008671310529616128
|
NULL
|
click
|
ocr
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER₴81DEV ( SlackFileEditViewGoHistoryWindowHelpDOCKER₴81DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•MoreJiminny... vir scnicrol# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...lo Steliyan Georgiev3Adelina Petrova, Ili...0. Adelina Petrova O. Galya Dimitrova *Rs Nikolay Nikolov "2 Galya Dimitrova, Ni...2 Galya Dimitrova, Ni..P. Nikolay Yankov::: AppsJira CloudToastGoogle Cale...Support Daily - in 19 m100% <47Tue 14 Apr 14:41:33→Search Jiminny Inc# releases8 226 0• Messages• Files@ Bookmarks+1f99de0e313cToday ~8b256855f58e5bf1f5) - [JY-20571](https://jiminny.atlassian.net/browse/JY-20571): Panorama offline reports (#465)(steliyan-g)(8cf63ce)(https://github.com/jiminny/prophet/commit/8cf63cec5153b6e1320e84c67b03977ce6fe4c0c) - [JY-19982](https://jiminny.atlassian.net/browse/JY-19982): Allow multiple LLM evals with onecommand run (#464) (steliyan-g)NewCircleCl APP 2:15 PMNew commits deployed to Prophet Prod-EU:[Od2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - [JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (ilian-jiminny)New commits deployed to Prophet Prod-US:[0d2170f](https://github.com/jiminny/prophet/commit/0d2170fd4f25032fe37738e936a418512ca7b6e2) - JY-20544](https://jiminny.atlassian.net/browse/JY-20544)eval changes (#459) (flian-jiminny)Message #releases+ Аа......
|
NULL
|
|
12822
|
277
|
2
|
2026-04-14T11:41:35.064844+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166895064_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditFVtavsco.isvViewNavigateCodeLarave PhpStormFileEditFVtavsco.isvViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-iminny ~Project vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEilC IterateUsersCommand.g© JiminnyCacheClearCom© JiminnyDebugCommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© RecalculateDealRisksCa© RemoveDeleteMarkersC© RemoveExpiredNudgest© RemoveUnusedParticip:© ReportController.php© SendReportJob.php© AutomatedReportsSendCommand.phpAutomatedReportsCommand.phpAadLayoutchuitles.onpc leam.ongC) AutomatedReportsRepository.php© AutomatedReportsService.phpCreateHeldActivityEvent.php© UserPilotActivityListener.phpC RequestGenerateAskJiminnyReportJob.php© TrackProviderInstalledEvent.php© ActivityLogged.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command2425 GT2832 Ct3435 Ct3637383940424749535466* The name and signature of the console command.* Ovar stringprotected $signature = 'automated-reports:send';* The console command description.x ovar sarinoprotected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,parent::__construct();/*** Execute the console command.* @return intpublic function handle(): intnreportkesulrs = sulsry->getGeneratedNotSentResults();foreach ($reportResultsas SreportResult) f/** @var AutomatedReportResult $reportResult */return CommandALias::SUCCESS;loal= custom.logA HS_local [iminny@localhost]console PROD52152215241525115401527528529530531532533534535155415505395405415425435445455465475485495505511554555556557558559$reportResult->getG 5611564567568 vE laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny017 A15 Х13 Aselect * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id,leao o, contact* cri contouracionlorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type ="conterence"# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1.n: on cl.id = piwhere crm_configuration_1d = 1 and pl.playbooK_1d = 175;sellect * from teamssELre"* -rur autonared redortsrjoin teams t on r.teamnid = t.idWHERE r. frequency ='daily'and r.status = 1AND t.status ='active'AND (r.exRicesuat >= now() OR r.exeices.at IS NULL);select * from automated_report_results where report. id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932:select * from automated_reports order by id desc;select * fromautomated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);1570157157231PShiilSupport Daily • in 19mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:41:34CascadeDebug Automated Rep+D ...sent at Is NULlstatus = STATUS_GENERATEDnas arelared reoortYour 7 results pass this.Step 2: getValidRecipientUsers()For each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients()→ includes creator. For regular reports it goes through getRecipientUsers() . Either way, the creator has anemail, so validRecipients is not empty. VStep 3: shouldSendReport() - THIS IS WHERE IT FAILS• phppubLic const int SENI_REPORI_AI_HUURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +1080• secondsIt then checks:O php$now = Carbon::now($earliestTZ);// current time in GMT+3$1sScheduledTime = (int) $now->format('H') === 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTC.If it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime()O phppublic function hasPassedScheduledTime(?CarbonInterface SgeneratedAt, string $timezone): boolTihis checksgeneratedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC)Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT ‹ scheduledTimeltc so hasPassedScheduledTime returns false• OR the current time is before 05:00 GMT+3 → nowUtc is NOT > scheduledTimeUtcCven vou re runnine mnis auso rM Ulcrs 143 ocal111ouC nere's wnar naooens.schedu ledtime = today at 0o.00 GMIfs= 02.00U1enow = 11:35 UTC → past scheduled timegeneratedAtmust be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtUtc.lt(scheduledTimeUtc) isfalse → hasPassedScheduledTime returns false → nothing sendsin Snore the revoremustnave deen denerare. derore tne scheou ec senc time (0o.00 nmeuser'stimezone). If it was generated after 05:00 GMT+3, it will only be eligible to send tomorrow at 05:00 GMT+3.IN that case lets change the parameters for @AutomatedReportsSendCommand. php as well and lets add resultid to send and if foudn then do not check shouldSendReport but call direct SendReportJob|+ <> Codewinasun leamsblb2 13 charsuir-of 4 spa...
|
NULL
|
2180413374844902801
|
NULL
|
visual_change
|
ocr
|
NULL
|
PhpStormFileEditFVtavsco.isvViewNavigateCodeLarave PhpStormFileEditFVtavsco.isvViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-iminny ~Project vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEilC IterateUsersCommand.g© JiminnyCacheClearCom© JiminnyDebugCommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© RecalculateDealRisksCa© RemoveDeleteMarkersC© RemoveExpiredNudgest© RemoveUnusedParticip:© ReportController.php© SendReportJob.php© AutomatedReportsSendCommand.phpAutomatedReportsCommand.phpAadLayoutchuitles.onpc leam.ongC) AutomatedReportsRepository.php© AutomatedReportsService.phpCreateHeldActivityEvent.php© UserPilotActivityListener.phpC RequestGenerateAskJiminnyReportJob.php© TrackProviderInstalledEvent.php© ActivityLogged.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command2425 GT2832 Ct3435 Ct3637383940424749535466* The name and signature of the console command.* Ovar stringprotected $signature = 'automated-reports:send';* The console command description.x ovar sarinoprotected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,parent::__construct();/*** Execute the console command.* @return intpublic function handle(): intnreportkesulrs = sulsry->getGeneratedNotSentResults();foreach ($reportResultsas SreportResult) f/** @var AutomatedReportResult $reportResult */return CommandALias::SUCCESS;loal= custom.logA HS_local [iminny@localhost]console PROD52152215241525115401527528529530531532533534535155415505395405415425435445455465475485495505511554555556557558559$reportResult->getG 5611564567568 vE laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny017 A15 Х13 Aselect * tron reans where 1o =15select x tron groupsg suin playpooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id,leao o, contact* cri contouracionlorcirn orovoer LorTranscrrocion orstatusfrom activities where crm_configuration_id = 1 and type ="conterence"# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1.n: on cl.id = piwhere crm_configuration_1d = 1 and pl.playbooK_1d = 175;sellect * from teamssELre"* -rur autonared redortsrjoin teams t on r.teamnid = t.idWHERE r. frequency ='daily'and r.status = 1AND t.status ='active'AND (r.exRicesuat >= now() OR r.exeices.at IS NULL);select * from automated_report_results where report. id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932:select * from automated_reports order by id desc;select * fromautomated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);1570157157231PShiilSupport Daily • in 19mAL AutomatedReportsCommandTestv100% [45)Tue 14 Apr 14:41:34CascadeDebug Automated Rep+D ...sent at Is NULlstatus = STATUS_GENERATEDnas arelared reoortYour 7 results pass this.Step 2: getValidRecipientUsers()For each result, gets recipients. Since it's an AskJiminny report it goes through resolveAskJiminnyRecipients()→ includes creator. For regular reports it goes through getRecipientUsers() . Either way, the creator has anemail, so validRecipients is not empty. VStep 3: shouldSendReport() - THIS IS WHERE IT FAILS• phppubLic const int SENI_REPORI_AI_HUURS = 5;The logic picks the earliest timezone (highest UTC offset = most ahead of UTC). For GMT+3, the offset is +1080• secondsIt then checks:O php$now = Carbon::now($earliestTZ);// current time in GMT+3$1sScheduledTime = (int) $now->format('H') === 5;// is it 05:00 in GMT+3?The report only sends if it's currently 5:00 AM in the creator's timezone (GMT+3). That means 02:00 UTC.If it's not 5:00 AM right now in GMT+3, it falls through to hasPassedScheduledTime()O phppublic function hasPassedScheduledTime(?CarbonInterface SgeneratedAt, string $timezone): boolTihis checksgeneratedAt < 05:00 today (in GMT+3, converted to UTC) ANDnow > 05:00 today (in GMT+3, converted to UTC)So it only returns true if:1. The report was generated before 05:00 GMT+3 today (i.e., before 02:00 UTC)2. AND current time is past 05:00 GMT+3 (past 02:00 UTC)Why Nothing Is SentThe current time in GMT+3 is not 05:00 AM, and one of these is also true:• The report was generated after 05:00 GMT+3 (02:00 UTC) today → generatedAtUtc is NOT ‹ scheduledTimeltc so hasPassedScheduledTime returns false• OR the current time is before 05:00 GMT+3 → nowUtc is NOT > scheduledTimeUtcCven vou re runnine mnis auso rM Ulcrs 143 ocal111ouC nere's wnar naooens.schedu ledtime = today at 0o.00 GMIfs= 02.00U1enow = 11:35 UTC → past scheduled timegeneratedAtmust be before 02:00 UTC todayThe likely cause: the report was generated AFTER 05:00 GMT+3 (after 02:00 UTC) today, so generatedAtUtc.lt(scheduledTimeUtc) isfalse → hasPassedScheduledTime returns false → nothing sendsin Snore the revoremustnave deen denerare. derore tne scheou ec senc time (0o.00 nmeuser'stimezone). If it was generated after 05:00 GMT+3, it will only be eligible to send tomorrow at 05:00 GMT+3.IN that case lets change the parameters for @AutomatedReportsSendCommand. php as well and lets add resultid to send and if foudn then do not check shouldSendReport but call direct SendReportJob|+ <> Codewinasun leamsblb2 13 charsuir-of 4 spa...
|
12820
|
|
12823
|
277
|
3
|
2026-04-14T11:41:41.096819+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166901096_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditFVtavsco.isvViewNavigateCodeLarave PhpStormFileEditFVtavsco.isvViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-iminny ~Project vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEilC IterateUsersCommand.g© JiminnyCacheClearCom© JiminnyDebugCommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© RecalculateDealRisksCa© RemoveDeleteMarkersC© RemoveExpiredNudgest© RemoveUnusedParticip:© ReportController.php© SendReportJob.phpC AutomatedReportsSendCommand.phpAutomatedReportsCommand.phpAadLayoutchuitles.onpc leam.ongC) AutomatedReportsRepository.php© AutomatedReportsService.phpCreateHeldActivityEvent.php© UserPilotActivityListener.phpC RequestGenerateAskJiminnyReportJob.php© TrackProviderInstalledEvent.php© ActivityLogged.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command2425 GT2832 Ct3435 Ct3637383940424749535466* The name and signature of the console command.* Ovar stringprotected $signature = 'automated-reports:send';* The console command description.x ovar sarinoprotected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,private readonly AutomatedReportsService $automatedReportsService,private readonly BusDispatcher $dispatcher,parent::__construct();/*** Execute the console command.* @return intpublic function handle(): intnreportkesulrs = sulsry->getGeneratedNotSentResults();foreach ($reportResultsas SreportResult) f/** @var AutomatedReportResult $reportResult */return CommandALias::SUCCESS;loal= custom.logA HS_local [iminny@localhost]console PROD52152215241525115401527528529530531532533534535155415505395405415425435445455465475485495505511554555556557558559$reportResult->getG 5611564567568 vE laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';fajiminny017 A15 Х 13 ^select * tron reans where 1o =15select x tron groups g Juin playbooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id, lead_id, contact* cri conmouracionorcirn orovoer LorTranscruomion dor starusfrom activities where crm_configuration_id = 1 and type ='conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_1d = 1 and pl.playbook_1d = 175sellect * from teamsSELe** Frur autonared redortsjoin teams t on r.teamnid = t.idWHERE r. frequency ='daily'and r.status = 1AND t.status ='active'AND (r.exRicesuat >= now() OR r.exeices.at IS NULL);select * from automated_report_results where report. id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932:select * from automated_reports order by id desc;select * fromautomated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);1570157157231PShiil: Support Daily • in 19 mAU AutomatedReportsCommandTestv100% [Tue 14 Apr 14:41:40Cascade• Debug Automated R1 ..parameters for @AutomatedReportsSendCommand.php as well and lets addIN sult t c as slets and i fo then then do nos foh eA houatsendpeport but calldire.p Senar eportiod tif vaiddvecioeintsSurfing...Ask anything (884L)+ <› CodeClaude Sonnet 4.6w Winasurt leamsblb2 13 charsuir-of 4 spa...
|
NULL
|
-2748517470543860727
|
NULL
|
visual_change
|
ocr
|
NULL
|
PhpStormFileEditFVtavsco.isvViewNavigateCodeLarave PhpStormFileEditFVtavsco.isvViewNavigateCodeLaravelRefactorToolsWindowHelp#11894 on JY-18909-automated-reports-ask-iminny ~Project vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEilC IterateUsersCommand.g© JiminnyCacheClearCom© JiminnyDebugCommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© RecalculateDealRisksCa© RemoveDeleteMarkersC© RemoveExpiredNudgest© RemoveUnusedParticip:© ReportController.php© SendReportJob.phpC AutomatedReportsSendCommand.phpAutomatedReportsCommand.phpAadLayoutchuitles.onpc leam.ongC) AutomatedReportsRepository.php© AutomatedReportsService.phpCreateHeldActivityEvent.php© UserPilotActivityListener.phpC RequestGenerateAskJiminnyReportJob.php© TrackProviderInstalledEvent.php© ActivityLogged.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command2425 GT2832 Ct3435 Ct3637383940424749535466* The name and signature of the console command.* Ovar stringprotected $signature = 'automated-reports:send';* The console command description.x ovar sarinoprotected $description = 'Sends automated reports based on user timezone';public function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,private readonly AutomatedReportsService $automatedReportsService,private readonly BusDispatcher $dispatcher,parent::__construct();/*** Execute the console command.* @return intpublic function handle(): intnreportkesulrs = sulsry->getGeneratedNotSentResults();foreach ($reportResultsas SreportResult) f/** @var AutomatedReportResult $reportResult */return CommandALias::SUCCESS;loal= custom.logA HS_local [iminny@localhost]console PROD52152215241525115401527528529530531532533534535155415505395405415425435445455465475485495505511554555556557558559$reportResult->getG 5611564567568 vE laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';fajiminny017 A15 Х 13 ^select * tron reans where 1o =15select x tron groups g Juin playbooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_id = 1;select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id, lead_id, contact* cri conmouracionorcirn orovoer LorTranscruomion dor starusfrom activities where crm_configuration_id = 1 and type ='conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1.n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event';SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_1d = 1 and pl.playbook_1d = 175sellect * from teamsSELe** Frur autonared redortsjoin teams t on r.teamnid = t.idWHERE r. frequency ='daily'and r.status = 1AND t.status ='active'AND (r.exRicesuat >= now() OR r.exeices.at IS NULL);select * from automated_report_results where report. id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932:select * from automated_reports order by id desc;select * fromautomated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);1570157157231PShiil: Support Daily • in 19 mAU AutomatedReportsCommandTestv100% [Tue 14 Apr 14:41:40Cascade• Debug Automated R1 ..parameters for @AutomatedReportsSendCommand.php as well and lets addIN sult t c as slets and i fo then then do nos foh eA houatsendpeport but calldire.p Senar eportiod tif vaiddvecioeintsSurfing...Ask anything (884L)+ <› CodeClaude Sonnet 4.6w Winasurt leamsblb2 13 charsuir-of 4 spa...
|
NULL
|
|
12827
|
276
|
5
|
2026-04-14T11:41:49.456701+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166909456_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER-281DEV SlackFileEditViewGoHistoryWindowHelpDOCKER-281DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•Moreabl§ Support Daily • in 19 m100% <Tue 14 Apr 14:41:49Search Jiminny IncJiminny …..• plattorm-inner-teamChannels# ai-chapter# alerts# backend# confusion-clinic# curiosity_lab# engineering# frontend# general# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil VasilevAneliya Angelova, ...do Steliyan Georgiev3 Adelina Petrova, Ili...%. Adelina Petrova®. Galya DimitrovaO Mialau NilalanAneliya Angelova, ...8• MessagesAdd canvasC Files+ок готово, опр-2з пьт мина успешно991Today ~(ct29NikДобре, 2 неща:• в името на генерирания репорт е датавчера, не днес•и имейл не дойдеimage.png•DaM 166• c aI5 replies View threadNikolay Yankov 1:49 PMTimeZone на моя user e SofaLukas Kovalik 1:50 PMсмених и команда сега може да се пуска исъс id или uuid na report като --report-id ...Nikolay Yankov 1:51 PMСтели, има неокей линковеMessage Aneliya Angelova, Nikolay Yankov, Steli...Aa...
|
NULL
|
-1754606499337939581
|
NULL
|
click
|
ocr
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER-281DEV SlackFileEditViewGoHistoryWindowHelpDOCKER-281DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "{"users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny#|*3ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•Moreabl§ Support Daily • in 19 m100% <Tue 14 Apr 14:41:49Search Jiminny IncJiminny …..• plattorm-inner-teamChannels# ai-chapter# alerts# backend# confusion-clinic# curiosity_lab# engineering# frontend# general# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...• Direct messages€. Vasil VasilevAneliya Angelova, ...do Steliyan Georgiev3 Adelina Petrova, Ili...%. Adelina Petrova®. Galya DimitrovaO Mialau NilalanAneliya Angelova, ...8• MessagesAdd canvasC Files+ок готово, опр-2з пьт мина успешно991Today ~(ct29NikДобре, 2 неща:• в името на генерирания репорт е датавчера, не днес•и имейл не дойдеimage.png•DaM 166• c aI5 replies View threadNikolay Yankov 1:49 PMTimeZone на моя user e SofaLukas Kovalik 1:50 PMсмених и команда сега може да се пуска исъс id или uuid na report като --report-id ...Nikolay Yankov 1:51 PMСтели, има неокей линковеMessage Aneliya Angelova, Nikolay Yankov, Steli...Aa...
|
12826
|
|
12830
|
277
|
6
|
2026-04-14T11:41:52.697648+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776166912697_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFVravsco.isvNavigateCodelaravellRefacton( PhpStormFVravsco.isvNavigateCodelaravellRefacton( #11894 on JY-18909-automated-reports-ask-jiminny ~Project vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEilC IterateUsersCommand.gcJiminnvcacheclearcom(e) Jminnv Deouacommanc© JiminnySetEncryptedTo(c) Jiminny okenintocomm© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSyncBatchesCom© RecalculateDealRisksCa© RemoveDeleteMarkersC© RemoveExpiredNudgest© ReportController.php© SendReportJob.phpC AutomatedReportsSendCommand.phpAutomatedReportsCommand.php© AddLayoutEntities.phpc leam.ongC) AutomatedReportsRepository.php© AutomatedReportsService.phpTrackProviderInstalledEvent.php© ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command22232425 GT2832 Ct3638394042* The name and signature of the console command.* Ovar stringprotected $signature ='automated-reports:send';* The console command description.x ovar sarinoprotected $description = 'Sends automated reports based on user timezone';public function __construct(parent::__construct();/*** Execute the console command.* @return intpublic function handle(): int$reportResults = $thisforeach ($reportResultsas $reportResult) {'Dispatching job',]):return CommandALias: : SUCCESS;Support Daily • in 19 mAutomatedReportsCommandTest100% C2Tue 14 Apr 14:41:52= custom.logA HS_local [iminny@localhost]console PROD521522152415251154015275285295305315325335345351554155000%540541542543544545546547154815475505515525535545555561558$reportResult->getG561562563564-565566567568 V569570E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';a jiminny017 A15 Х 13 ^select * tron reans wnere 1o =1oselect x tron groups g Juin playbooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id, lead_id, contact* cri conmouracionorcirn orovoer LorTranscruomion dor starusfrom activities where crm_configuration_id = 1 and type ='conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);572CascadeO Debug Automated Rparameters [EMAIL] as well and lets addIN sult t c as slets and i fo then then do nos foh eA houatsendpeport but calldire.p Senar eportiod tif vaiddvecioemisExplored AutomatedReportsService.php and searched b vreacAulomale.reoorsservice.ono #1994-0723searcneo Tinebvuulc iino on aoo/recosilores/ Aulomale.reoonsre.osiorv.ono (o)salllingwAsk anything (884L)+ ‹> Code.Claude Sonnet 4.6nit to origin/JY-18909-automated-reports-ask-jiOUW Winasurt leab1:b2 13 charsf 4 spaces...
|
NULL
|
7970636475175316825
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFVravsco.isvNavigateCodelaravellRefacton( PhpStormFVravsco.isvNavigateCodelaravellRefacton( #11894 on JY-18909-automated-reports-ask-jiminny ~Project vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEilC IterateUsersCommand.gcJiminnvcacheclearcom(e) Jminnv Deouacommanc© JiminnySetEncryptedTo(c) Jiminny okenintocomm© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSyncBatchesCom© RecalculateDealRisksCa© RemoveDeleteMarkersC© RemoveExpiredNudgest© ReportController.php© SendReportJob.phpC AutomatedReportsSendCommand.phpAutomatedReportsCommand.php© AddLayoutEntities.phpc leam.ongC) AutomatedReportsRepository.php© AutomatedReportsService.phpTrackProviderInstalledEvent.php© ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeporJob.ong© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Command22232425 GT2832 Ct3638394042* The name and signature of the console command.* Ovar stringprotected $signature ='automated-reports:send';* The console command description.x ovar sarinoprotected $description = 'Sends automated reports based on user timezone';public function __construct(parent::__construct();/*** Execute the console command.* @return intpublic function handle(): int$reportResults = $thisforeach ($reportResultsas $reportResult) {'Dispatching job',]):return CommandALias: : SUCCESS;Support Daily • in 19 mAutomatedReportsCommandTest100% C2Tue 14 Apr 14:41:52= custom.logA HS_local [iminny@localhost]console PROD521522152415251154015275285295305315325335345351554155000%540541542543544545546547154815475505515525535545555561558$reportResult->getG561562563564-565566567568 V569570E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';a jiminny017 A15 Х 13 ^select * tron reans wnere 1o =1oselect x tron groups g Juin playbooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vvid, type, provider, playbook_category_id, user_id, lead_id, contact* cri conmouracionorcirn orovoer LorTranscruomion dor starusfrom activities where crm_configuration_id = 1 and type ='conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl 1<->1.n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);572CascadeO Debug Automated Rparameters [EMAIL] as well and lets addIN sult t c as slets and i fo then then do nos foh eA houatsendpeport but calldire.p Senar eportiod tif vaiddvecioemisExplored AutomatedReportsService.php and searched b vreacAulomale.reoorsservice.ono #1994-0723searcneo Tinebvuulc iino on aoo/recosilores/ Aulomale.reoonsre.osiorv.ono (o)salllingwAsk anything (884L)+ ‹> Code.Claude Sonnet 4.6nit to origin/JY-18909-automated-reports-ask-jiOUW Winasurt leab1:b2 13 charsf 4 spaces...
|
12828
|
|
12843
|
276
|
13
|
2026-04-14T11:44:39.791857+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776167079791_m1.jpg...
|
PhpStorm
|
faVsco.js – AutomatedReportsSendCommand.php
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER981DEV ( SlackFileEditViewGoHistoryWindowHelpDOCKER981DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,3,],*3}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ 0ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•Moreabl§ Support Daily • in 16 m100% <Tue 14 Apr 14:44:39Search Jiminny IncJiminny …..• plattorm-inner-teamChannels# ai-chapter# alerts# backend# confusion-clinic# curiosity_lab# engineering# frontend# general# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...o Direct messages€. Vasil VasilevAneliya Angelova, ...do Steliyan Georgiev3 Adelina Petrova, Ili...%. Adelina Petrova®. Galya DimitrovaO Mialau NilalanThread Direct message with 3 others7 repliesLukas Kovalik 1 hour agoза дата там не знам как искаме да го правим.по принцип при всички други се гледа ден назад при положение че идва през нощта.Nikolay Yankov 1 hour ago@Lukas Kovalik видя ли този коментарLukas Kovalik 1 hour agoдаNikolay Yankov 45 minutes agoне е ли датата на която е генерирано? (edited)Lukas Kovalik 45 minutes agoemail ще го видяLukas Kovalik 1 minute agoза второто е направено да праща веднагасамо при one-off, иначе си праща когато мудойде време през нощтаи тука мога да му да добавя параметьр самоза тестване и да прати веднага ако се подадена командаReply...+Also send to the groupAa•*•...
|
NULL
|
2273648481108817466
|
NULL
|
click
|
ocr
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER981DEV ( SlackFileEditViewGoHistoryWindowHelpDOCKER981DEV (docker)282APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,3,],*3}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ 0ec2-userGec2-user@ip-10-30-...+EDHomeDMsActivityFilesLater.*•Moreabl§ Support Daily • in 16 m100% <Tue 14 Apr 14:44:39Search Jiminny IncJiminny …..• plattorm-inner-teamChannels# ai-chapter# alerts# backend# confusion-clinic# curiosity_lab# engineering# frontend# general# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...o Direct messages€. Vasil VasilevAneliya Angelova, ...do Steliyan Georgiev3 Adelina Petrova, Ili...%. Adelina Petrova®. Galya DimitrovaO Mialau NilalanThread Direct message with 3 others7 repliesLukas Kovalik 1 hour agoза дата там не знам как искаме да го правим.по принцип при всички други се гледа ден назад при положение че идва през нощта.Nikolay Yankov 1 hour ago@Lukas Kovalik видя ли този коментарLukas Kovalik 1 hour agoдаNikolay Yankov 45 minutes agoне е ли датата на която е генерирано? (edited)Lukas Kovalik 45 minutes agoemail ще го видяLukas Kovalik 1 minute agoза второто е направено да праща веднагасамо при one-off, иначе си праща когато мудойде време през нощтаи тука мога да му да добавя параметьр самоза тестване и да прати веднага ако се подадена командаReply...+Also send to the groupAa•*•...
|
12840
|
|
12844
|
277
|
13
|
2026-04-14T11:44:39.801302+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776167079801_m2.jpg...
|
PhpStorm
|
faVsco.js – AutomatedReportsSendCommand.php
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFV ravsco.isProject vProphetAiv D Reports© PhpStormFV ravsco.isProject vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpc Crearevaroaseusers.oc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(e) Jminnv Deouacommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom© RecalculateDealRisksCaC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCorLarave© ReportController.php© SendReportJob.phpAutomatedReportsCommand.phpC AutomatedReportsSendCommand.phpAadLayoutchutles.onleam.onoC AutomatedReportsRepository.php= custom.logA HS_local [iminny@localhost]console PRODTrackProviderInstalledEvent.php© ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.php520RequestGeneratekeporJob.ono521© AutomatedReportResult.phpe AutomatedRenort.onnclass AutomatedReportsSendCommand extends Command5225232215241524* @var string15401protected $signature = 'automated-reports:send';AcceptRenecc52752825 Gprotected $signature = 'automated-reports:send {--result-id= : Force send a specific AufomatedRep 529272945/*** The console command descrintion.* @var string*/protected $description = 'Sends automated reports based on user timezone':53153253315.54115551554no usagespublic function __construct(parent::__construct();* Execute the console command.* Oreturn int$resultId = $this->option( key: "result-id'):155000%540541542543544545546154715481547550551552553554555556557if ($resultId !== nulu){return $this->handZeForceSend((int) $resultId);SO1$reportResults = $this->reportRepository->getGeneratedNotSentResults():562563foreach ($reportResults as $reportResult) (564/** Ovar AutomatedReportResult $reportResult */565$vaLidRecipients = $this->autoatedReportsService->getVaLidRecipientUsers($reportResult->5661n ouns-›autonareokevorrsse>shouldSendReport($validRecipients, $reportResult->get 567Dispatching job'.568 V569I):570571$this->dispatcher->dispatch(new SendReportJob($reportResult->getUuid()));514E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny017 A15 Х13 Aselect * tron reans wnere 1o =1select x tron groups g Juin playbooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact* cri conmouracionorciri orovoer LorTranscrrocion 0rSTatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status ='active'AND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where reRontaid IN (36);Support Daily • in 16 m(БГL AutomatedReportsCommandTest~100% C2Tue 14 Apr 14:44:39CascadeModify AutomatedRepparameters for@AutomatedReportsSendCommarnd-php as well and lets addIN sult t c as slets and i fo then then do nos foh eA houatsendpeport but calldire.p Senar eportiod tif vaiddvecioeintsExplored 3 files and searched 3 queriesNow I have everything need. I'll add an optional —-result-id argument to the command that bypasses shouldsendReport and dispatches directly if valid recipients exist.Automaleakeportsoenecommane.ong+38 -1Done. Here's what was added:--result-1d ootion on the signature — ovpasses the normal scheduled-time Tlow enurely.hand leForcesendd does.1. Finds AutomatedReportResult by ID - returns FAILURE with a log it not tound2. Resolves valid recipients - returns FAILURE with a log if noneDispatches SendReportJob directv no shouldSendRenort checkUsage inside the docker container:• bashphp artisan automated-reports:send --result-id=<id>The normal scheculed flow ino --result-id) is como etelv unchanaed.O .l -1 file +38 -1 >Ask anything (884L)+ ‹> Code |Claude Sonnet 4.6Reject allAccept allwinasun leamsUTF-8( 4 spaces...
|
NULL
|
-7308659614170532995
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFV ravsco.isProject vProphetAiv D Reports© PhpStormFV ravsco.isProject vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersVocabularyDZoom© CoachingFeedbacksUpr© Command.phpc Crearevaroaseusers.oc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand./© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil© IterateUsersCommand.gcJiminnvcacheclearcom(e) Jminnv Deouacommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom© RecalculateDealRisksCaC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCorLarave© ReportController.php© SendReportJob.phpAutomatedReportsCommand.phpC AutomatedReportsSendCommand.phpAadLayoutchutles.onleam.onoC AutomatedReportsRepository.php= custom.logA HS_local [iminny@localhost]console PRODTrackProviderInstalledEvent.php© ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.php520RequestGeneratekeporJob.ono521© AutomatedReportResult.phpe AutomatedRenort.onnclass AutomatedReportsSendCommand extends Command5225232215241524* @var string15401protected $signature = 'automated-reports:send';AcceptRenecc52752825 Gprotected $signature = 'automated-reports:send {--result-id= : Force send a specific AufomatedRep 529272945/*** The console command descrintion.* @var string*/protected $description = 'Sends automated reports based on user timezone':53153253315.54115551554no usagespublic function __construct(parent::__construct();* Execute the console command.* Oreturn int$resultId = $this->option( key: "result-id'):155000%540541542543544545546154715481547550551552553554555556557if ($resultId !== nulu){return $this->handZeForceSend((int) $resultId);SO1$reportResults = $this->reportRepository->getGeneratedNotSentResults():562563foreach ($reportResults as $reportResult) (564/** Ovar AutomatedReportResult $reportResult */565$vaLidRecipients = $this->autoatedReportsService->getVaLidRecipientUsers($reportResult->5661n ouns-›autonareokevorrsse>shouldSendReport($validRecipients, $reportResult->get 567Dispatching job'.568 V569I):570571$this->dispatcher->dispatch(new SendReportJob($reportResult->getUuid()));514E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny017 A15 Х13 Aselect * tron reans wnere 1o =1select x tron groups g Juin playbooks p1.n<->1: on g.playbook_id = p.id winselect * TroIgroupsnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# id, vuid, type, provider, playbook_category_id, user_id, lead_id, contact* cri conmouracionorciri orovoer LorTranscrrocion 0rSTatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCZojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status ='active'AND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where reRontaid IN (36);Support Daily • in 16 m(БГL AutomatedReportsCommandTest~100% C2Tue 14 Apr 14:44:39CascadeModify AutomatedRepparameters for@AutomatedReportsSendCommarnd-php as well and lets addIN sult t c as slets and i fo then then do nos foh eA houatsendpeport but calldire.p Senar eportiod tif vaiddvecioeintsExplored 3 files and searched 3 queriesNow I have everything need. I'll add an optional —-result-id argument to the command that bypasses shouldsendReport and dispatches directly if valid recipients exist.Automaleakeportsoenecommane.ong+38 -1Done. Here's what was added:--result-1d ootion on the signature — ovpasses the normal scheduled-time Tlow enurely.hand leForcesendd does.1. Finds AutomatedReportResult by ID - returns FAILURE with a log it not tound2. Resolves valid recipients - returns FAILURE with a log if noneDispatches SendReportJob directv no shouldSendRenort checkUsage inside the docker container:• bashphp artisan automated-reports:send --result-id=<id>The normal scheculed flow ino --result-id) is como etelv unchanaed.O .l -1 file +38 -1 >Ask anything (884L)+ ‹> Code |Claude Sonnet 4.6Reject allAccept allwinasun leamsUTF-8( 4 spaces...
|
NULL
|
|
12845
|
276
|
14
|
2026-04-14T11:44:42.062628+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776167082062_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKERDEV (doc SlackFileEditViewGoHistoryWindowHelpDOCKERDEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,3,],*3}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ 0ec2-userGec2-user@ip-10-30-...+EDHomeD-DMsActivityFilesLater.*•MoreSupport Daily - in 16 m100% 147Tue 14 Apr 14:44:41Search Jiminny Inc→Jiminny ...• plattorm-inner-teamChannels# ai-chapter# alerts# backend# confusion-clinic# curiosity_lab# engineering# frontend# general# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...o Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...do Steliyan Georgiev3 Adelina Petrova, Ili...%. Adelina Petrova% Galya DimitrovaO Mialau NilalanThread Direct message with 3 others7 repliesLukas Kovalik 1 hour agoза дата там не знам как искаме да го правим.по принцип при всички други се гледа ден назад при положение че идва през нощта.Nikolay Yankov 1 hour ago@Lukas Kovalik видя ли този коментарLukas Kovalik 1 hour agoдаNikolay Yankov 45 minutes agoне е ли датата на която е генерирано? (edited)Lukas Kovalik 45 minutes agoemail ще го видяLukas Kovalik 1 minute agoза второто е направено да праща веднагасамо при one-off, иначе си праща когато мудойде време през нощтаи тука мога да му да добавя параметьр самоза тестване и да прати веднага ако се подадена командаReply...Also send to the group+Aa•*•...
|
NULL
|
-867645005215192378
|
NULL
|
visual_change
|
ocr
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKERDEV (doc SlackFileEditViewGoHistoryWindowHelpDOCKERDEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,3,],*3}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ 0ec2-userGec2-user@ip-10-30-...+EDHomeD-DMsActivityFilesLater.*•MoreSupport Daily - in 16 m100% 147Tue 14 Apr 14:44:41Search Jiminny Inc→Jiminny ...• plattorm-inner-teamChannels# ai-chapter# alerts# backend# confusion-clinic# curiosity_lab# engineering# frontend# general# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...o Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...do Steliyan Georgiev3 Adelina Petrova, Ili...%. Adelina Petrova% Galya DimitrovaO Mialau NilalanThread Direct message with 3 others7 repliesLukas Kovalik 1 hour agoза дата там не знам как искаме да го правим.по принцип при всички други се гледа ден назад при положение че идва през нощта.Nikolay Yankov 1 hour ago@Lukas Kovalik видя ли този коментарLukas Kovalik 1 hour agoдаNikolay Yankov 45 minutes agoне е ли датата на която е генерирано? (edited)Lukas Kovalik 45 minutes agoemail ще го видяLukas Kovalik 1 minute agoза второто е направено да праща веднагасамо при one-off, иначе си праща когато мудойде време през нощтаи тука мога да му да добавя параметьр самоза тестване и да прати веднага ако се подадена командаReply...Also send to the group+Aa•*•...
|
NULL
|
|
12847
|
276
|
15
|
2026-04-14T11:44:47.504831+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776167087504_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER- 281DEV SlackFileEditViewGoHistoryWindowHelpDOCKER- 281DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},*3],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ 0ec2-userGec2-user@ip-10-30-...+EDHomeD-DMsActivityFilesLater.*•MoreSupport Daily - in 16 m100% <47Tue 14 Apr 14:44:47Search Jiminny Inc→Jiminny ...• plattorm-inner-teamChannels# ai-chapter# alerts# backend# confusion-clinic# curiosity_lab# engineering# frontend# general# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...o Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...do Steliyan Georgiev3 Adelina Petrova, Ili...%. Adelina Petrova% Galya DimitrovaO Mialau NilalanThread Direct message with 3 others7 repliesLukas Kovalik 1 hour agoза дата там не знам как искаме да го правим.по принцип при всички други се гледа ден назад при положение че идва през нощта.Nikolay Yankov 1 hour ago@Lukas Kovalik видя ли този коментарLukas Kovalik 1 hour agoдаNikolay Yankov 45 minutes agoне е ли датата на която е генерирано? (edited)Lukas Kovalik 45 minutes agoemail ще го видяLukas Kovalik 1 minute agoза второто е направено да праща веднагасамо при one-off, иначе си праща когато мудойде време през нощтаи тука мога да му да добавя параметьр самоза тестване и да прати веднага ако се подадена командаReply...Also send to the group+Aa•*•...
|
NULL
|
-6319401030980238735
|
NULL
|
click
|
ocr
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER- 281DEV SlackFileEditViewGoHistoryWindowHelpDOCKER- 281DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx",team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,},*3],}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ 0ec2-userGec2-user@ip-10-30-...+EDHomeD-DMsActivityFilesLater.*•MoreSupport Daily - in 16 m100% <47Tue 14 Apr 14:44:47Search Jiminny Inc→Jiminny ...• plattorm-inner-teamChannels# ai-chapter# alerts# backend# confusion-clinic# curiosity_lab# engineering# frontend# general# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...o Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...do Steliyan Georgiev3 Adelina Petrova, Ili...%. Adelina Petrova% Galya DimitrovaO Mialau NilalanThread Direct message with 3 others7 repliesLukas Kovalik 1 hour agoза дата там не знам как искаме да го правим.по принцип при всички други се гледа ден назад при положение че идва през нощта.Nikolay Yankov 1 hour ago@Lukas Kovalik видя ли този коментарLukas Kovalik 1 hour agoдаNikolay Yankov 45 minutes agoне е ли датата на която е генерирано? (edited)Lukas Kovalik 45 minutes agoemail ще го видяLukas Kovalik 1 minute agoза второто е направено да праща веднагасамо при one-off, иначе си праща когато мудойде време през нощтаи тука мога да му да добавя параметьр самоза тестване и да прати веднага ако се подадена командаReply...Also send to the group+Aa•*•...
|
12845
|
|
12848
|
277
|
15
|
2026-04-14T11:44:49.084431+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776167089084_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormProject vFileFV faVsco.js vEditViewNavigat PhpStormProject vFileFV faVsco.js vEditViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelp© ReportController.php© AutomatedReportsSendCommand.php© SendReportJob.phpAutomatedReportsCommand.phpC) Team.phpAddLayoutchuitles.onp= custom.logA HS_local [iminny@localhost]ProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersC VocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand.|© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil( Iteratel IsersCommand rcJiminnvcacheclearcom(c) minnv Deouacommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom© RecalculateDealRisksCaC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© AutomatedReportsService.php© CreateHeldActivityEvent.php© UserPilotActivityListener.phpC RequestGenerateAskJiminnyReportJob.phpAutomatedReportsRepository.php© TrackProviderInstalledEvent.php© ActivityLogged.phpconsole PRODRequestGeneratekeporJob.ong520521© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Commandpublic function handle(): intif ($this->automatedReportsService->shouldSendReport($validRecipients, $reportResult->get$this->logger->info(self::LOG_PREFIXDispatching job', I'uuid' => SreportResult->getUuid(),717686878890₫&2979899ITATAT101119211):$this->dispatcher->dispatch(new SendReportJob($reportResult->getUvid()));return CommandALias::SUCCESS;|52852953053153253353453515541 usageprivate function handleForceSend(int $resultId): int$reportResult = AutomatedReportResult::find($resultId);1550539540541542return conmondAosFAWLURE"54515461547$validRecipients = $this->automatedReportsService->getValidRecipientUsers($reportResult->getR15481547550if (empty($validRecipients)) {$this->logger-›error(self::LOG_PREFIX . ' No valid recipients found', ['result_id' => $resultid."ШU10h=> $reportResult-›getUuid(),5515525531);554555return CommandALias:: FAILURE;556557$this->logger->info(self::LOG_PREFIX . ' Force dispatching job', ['result_id' => $resultId,'uuid'=> $reportResult->getUuid(),1):$this->dispatcher->dispatch(new SendReportJob($reportResult->getUvid()));return commandallas: • SuccEssSO1562563564565566567568 V569570E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny017 A15 Х13 Aselect * tron reans where 1o =15select x tron groupsg suin playpooks p1..n<->1: on a.plavbook id = p.id wiselect * TroIgroupsnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# 10, Uu1d, type, proviaer, playpook_cacegory-1o, user_la, Lead_ia, concact* cri conmouracionorcirn orovoer LorTranscrrocion 0rstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);104105select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);hiilSupport Daily • in 16 mAL AutomatedReportsCommandTest~100% |45]Tue 14 Apr 14:44:48CascadeModify AutomatedRepparameters [EMAIL] as well and lets addIN sult t c as slets and i fo then then do nos foh eA houatsendpeport but calldire.p Senar eportiod tif vaiddvecioemisExplored 3 files and searched 3 queriesNow I have everything I need. I'll add an optional -result-id argument to the command that bypasses shouldsendReport and dispatches directly if valid recipients exist.wAutomaleakeportsoenecommane.ong+38 -1Done. Here's what was added:--result-1d ootion on the signature — ovpasses the normal scheduled-time Tlow enurely.hand leForcesendd does.1. Finds AutomatedReportResult by ID - returns FAILURE with a log it not tound2. Resolves valid recipients - returns FAILURE with a log if noneDispatches SendReportJob directv no shouldSendRenort checkUsage inside the docker container:• bashphp artisan automated-reports:send --result-id=<id>The normal scheculed flow ino --result-id) is como etelv unchanaed.O al .Ask anything (84L)+ ‹> Code.Claude Sonnet 4.6w Winasurt leams71:38uir-o( 4 spaces...
|
NULL
|
-7833542586841206906
|
NULL
|
visual_change
|
ocr
|
NULL
|
PhpStormProject vFileFV faVsco.js vEditViewNavigat PhpStormProject vFileFV faVsco.js vEditViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelp© ReportController.php© AutomatedReportsSendCommand.php© SendReportJob.phpAutomatedReportsCommand.phpC) Team.phpAddLayoutchuitles.onp= custom.logA HS_local [iminny@localhost]ProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack• TeamsD TracksO TranscriptionO TwilioD UsersC VocabularyDZoom© CoachingFeedbacksUpr© Command.phpcreateDatabaseusers.pc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand.|© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil( Iteratel IsersCommand rcJiminnvcacheclearcom(c) minnv Deouacommanc© JiminnySetEncryptedTo© JiminnyTokenInfoComn© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom© RecalculateDealRisksCaC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© AutomatedReportsService.php© CreateHeldActivityEvent.php© UserPilotActivityListener.phpC RequestGenerateAskJiminnyReportJob.phpAutomatedReportsRepository.php© TrackProviderInstalledEvent.php© ActivityLogged.phpconsole PRODRequestGeneratekeporJob.ong520521© AutomatedReportResult.php© AutomatedReport.phpclass AutomatedReportsSendCommand extends Commandpublic function handle(): intif ($this->automatedReportsService->shouldSendReport($validRecipients, $reportResult->get$this->logger->info(self::LOG_PREFIXDispatching job', I'uuid' => SreportResult->getUuid(),717686878890₫&2979899ITATAT101119211):$this->dispatcher->dispatch(new SendReportJob($reportResult->getUvid()));return CommandALias::SUCCESS;|52852953053153253353453515541 usageprivate function handleForceSend(int $resultId): int$reportResult = AutomatedReportResult::find($resultId);1550539540541542return conmondAosFAWLURE"54515461547$validRecipients = $this->automatedReportsService->getValidRecipientUsers($reportResult->getR15481547550if (empty($validRecipients)) {$this->logger-›error(self::LOG_PREFIX . ' No valid recipients found', ['result_id' => $resultid."ШU10h=> $reportResult-›getUuid(),5515525531);554555return CommandALias:: FAILURE;556557$this->logger->info(self::LOG_PREFIX . ' Force dispatching job', ['result_id' => $resultId,'uuid'=> $reportResult->getUuid(),1):$this->dispatcher->dispatch(new SendReportJob($reportResult->getUvid()));return commandallas: • SuccEssSO1562563564565566567568 V569570E laravel.logA console (EU]A SF [jiminny@localhost]A console [STAGING]Tx: Auto vFlaycroundvt.owner_id FROM social_accounts saJOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';Sa jiminny017 A15 Х13 Aselect * tron reans where 1o =15select x tron groupsg suin playpooks p1..n<->1: on a.plavbook id = p.id wiselect * TroIgroupsnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175;select * from playbook_categories where playbook_id = 175;select * from users where team_id = 1;select * from users where id = 7160;select * from crm_profiles where user_id = 7160;select * from features;select# 10, Uu1d, type, proviaer, playpook_cacegory-1o, user_la, Lead_ia, concact* cri conmouracionorcirn orovoer LorTranscrrocion 0rstatusfrom activities where crm_configuration_id = 1 and type =' conference'# and crm_provider_id IS NOT NULLand provider != 'uploader' and actual_start_time IS NOT NULLORDER by id desc;select * from activities where id = 54747783; # 00U0400000pCzojMACselect p.id, p.activity_type, pc.id, pc.nameFROM playbooks pjoin playbook_categories pc1<->1..n: on p.id = pc.playbook_idwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm_fields WHERE crm_configuration_id = 1 and object_type = •SELECT * FROM crm_field_values WHERE crm_field_id = 4;select * from crm_layouts cl join playbook_layouts pl1<->1..n: on cl.id = piwhere crm_configuration_id = 1 and pl.playbook_id = 175;select * from teams;SELECT r.* FROM automated_reportsrjoin teams t on r.teamid = t.idWHERE r. frequency = 'daily'and r.status = 1AND t.status = 'activelAND (r.exRicesuat >= now() OR r.exeicesnat IS NULL);select * from automated_report_results where repontaig IN (18, 33);104105select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where repontaid IN (36);hiilSupport Daily • in 16 mAL AutomatedReportsCommandTest~100% |45]Tue 14 Apr 14:44:48CascadeModify AutomatedRepparameters [EMAIL] as well and lets addIN sult t c as slets and i fo then then do nos foh eA houatsendpeport but calldire.p Senar eportiod tif vaiddvecioemisExplored 3 files and searched 3 queriesNow I have everything I need. I'll add an optional -result-id argument to the command that bypasses shouldsendReport and dispatches directly if valid recipients exist.wAutomaleakeportsoenecommane.ong+38 -1Done. Here's what was added:--result-1d ootion on the signature — ovpasses the normal scheduled-time Tlow enurely.hand leForcesendd does.1. Finds AutomatedReportResult by ID - returns FAILURE with a log it not tound2. Resolves valid recipients - returns FAILURE with a log if noneDispatches SendReportJob directv no shouldSendRenort checkUsage inside the docker container:• bashphp artisan automated-reports:send --result-id=<id>The normal scheculed flow ino --result-id) is como etelv unchanaed.O al .Ask anything (84L)+ ‹> Code.Claude Sonnet 4.6w Winasurt leams71:38uir-o( 4 spaces...
|
NULL
|
|
12849
|
276
|
16
|
2026-04-14T11:44:53.295141+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776167093295_m1.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_1
|
NULL
|
NULL
|
NULL
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER- 881DEV SlackFileEditViewGoHistoryWindowHelpDOCKER- 881DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,3,],*3}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ 0ec2-userGec2-user@ip-10-30-...+EDHomeD-DMsActivityFilesLater.*•MoreSupport Daily - in 16 m100% 147Tue 14 Apr 14:44:52Search Jiminny Inc→Jiminny ...• plattorm-inner-teamChannels# ai-chapter# alerts# backend# confusion-clinic# curiosity_lab# engineering# frontend# general# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...o Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...do Steliyan Georgiev3 Adelina Petrova, Ili...%. Adelina Petrova% Galya DimitrovaO Mialau NilalanThread Direct message with 3 others7 repliesLukas Kovalik 1 hour agoза дата там не знам как искаме да го правим.по принцип при всички други се гледа ден назад при положение че идва през нощта.Nikolay Yankov 1 hour ago@Lukas Kovalik видя ли този коментарLukas Kovalik 1 hour agoдаNikolay Yankov 1 hour agoне е ли датата на която е генерирано? (edited)Lukas Kovalik 1 hour agoemail ще го видяLukas Kovalik 1 minute agoза второто е направено да праща веднагасамо при one-off, иначе си праща когато мудойде време през нощтаи тука мога да му да добавя параметьр самоза тестване и да прати веднага ако се подадена командаReply...Also send to the group+Aa•*•...
|
NULL
|
-2052535226303636053
|
NULL
|
click
|
ocr
|
NULL
|
SlackFileEditViewGoHistoryWindowHelpDOCKER- 881DEV SlackFileEditViewGoHistoryWindowHelpDOCKER- 881DEV (docker)882APP (-zsh)created_at:"2026-04-14 11:22:36"updated_at: "2026-04-14 11:23:04"report: Jiminny\Models\AutomatedReport {#15221id: 36,#uuid: b"Aß#ôq,»ö97i7eçªx"team_id: 1,type: "ask_jiminny",status: 1,frequency: "daily",from: null,to: null,deal_value_min: null,deal_value_max: null,call_types: "[]",media_types: "["pdf"]",call_duration_min: null,call_duration_max: null,groups: "[]",playbook_categories: null,deal_at_call_stages: null,current_deal_stages: null,recipients: "["users": [7160]}",jiminny_recipients: null,additional_prompt_input: null,custom_name: "Tuesday report",activity_search_id: 26913,ask_anything_prompt_id: 62,expires_at: "2026-04-30",created_by: 7160,created_at: "2026-04-14 11:20:20",updated_at: "2026-04-14 11:20:20",deleted_at: null,3,3,],*3}> Srepo->getGeneratedNotSentResults()->countO;> exitINFOGoodbye.root@b79a4bdd6905:/home/jiminny# [ec2-user@ip-10-30-93-249 ~]$ 0ec2-userGec2-user@ip-10-30-...+EDHomeD-DMsActivityFilesLater.*•MoreSupport Daily - in 16 m100% 147Tue 14 Apr 14:44:52Search Jiminny Inc→Jiminny ...• plattorm-inner-teamChannels# ai-chapter# alerts# backend# confusion-clinic# curiosity_lab# engineering# frontend# general# infra-changes# jiminny-bg# platform-tickets# product_launches# random# releases# sofia-office# support# thank-yous# the_people_of jimi...o Direct messages€. Vasil Vasilev3 Aneliya Angelova, ...do Steliyan Georgiev3 Adelina Petrova, Ili...%. Adelina Petrova% Galya DimitrovaO Mialau NilalanThread Direct message with 3 others7 repliesLukas Kovalik 1 hour agoза дата там не знам как искаме да го правим.по принцип при всички други се гледа ден назад при положение че идва през нощта.Nikolay Yankov 1 hour ago@Lukas Kovalik видя ли този коментарLukas Kovalik 1 hour agoдаNikolay Yankov 1 hour agoне е ли датата на която е генерирано? (edited)Lukas Kovalik 1 hour agoemail ще го видяLukas Kovalik 1 minute agoза второто е направено да праща веднагасамо при one-off, иначе си праща когато мудойде време през нощтаи тука мога да му да добавя параметьр самоза тестване и да прати веднага ако се подадена командаReply...Also send to the group+Aa•*•...
|
NULL
|
|
12850
|
277
|
16
|
2026-04-14T11:44:53.339327+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776167093339_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodelaraveRefactonTool PhpStormFileFditViewNavigateCodelaraveRefactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny ~Project vD ProphetAiv → Reports(C AutomatedReportsC(C) AutomatedReportsRe(©) AutomatedReportsS© CreateMockAskJimirC DeleteReportcomma© GenerateMarketingR©leam.phpC Usage.phpM Slack→ Teams→ Tracks_ TranscriptionD TwilioD Users_ Vocabulary_ 4oom© coachingeedbacksupcg command.phpc Crearevaroaseusers.oc Daraoase adecountoiC DeleteOldAiCrmNotesC(©) DeleteS3LeftoversCom|DevPostmanCommand.C DiarizeViaAiParticipantk(©) EncryptTokensCommar(©) EngagementStatsReger© FeatureFlagsHelper.php© FixCrossTenantlssues.p(C) FlushRolesPermissionsC(C) GeneratelnternalWebho(C) GroupSetDefaultLanquaC) HelperTruncateCoachin(©) HubspotJournalPollingC(©) HubspotWebhookServic(©) ImportRecording.php@ Imnortli|sercFromCcvEil(c) IterateUsersCommand.cJiminnvcacheclearcom(c) minnv Deouacommanc(c)Jminnvser-ncrvotedio(c) Jiminny okenintocomm(C) MakeSlackLiveCoachinc(C) ManageScimForTeam.o(©) MarkBranchForEnvironn(C) MuteOrganizerChannel.(C) PhpApm.php(C PropagateCoachingFee(©) PurgeConterences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom(e RecalculatebealkiskscoC) RemoveDeleteMarkersd(C) RemoveExpiredNudaes(C) RemoveUnusedParticio:C ResetElasticSearch.php(C) RestoreActivityCrmProv(C) RestoreActivityTypeCor(©) ReportController.phpC SendReportJob.php(©) AutomatedReportsCommand.php© AutomatedReportsSendCommand.phpAddLayoutchuitles.onpC) Team.phpC AutomatedReportsRepository.php© AutomatedReportsService.phpCreateHeldActivityEvent.phpe) Track?rovidernstalled-vent.onoC ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeportJob.ong© AutomatedReportResult.php© AutomatedReport.php<?phpA1.declare(scrict_types=1);nanespace Jamunny console conianos reoorts.>use...16class Automatedreportssendcommand extends Commanprivate const string LoG_PrEFIx = 'Lautomated-reports:sendJ':/*** Ine nome ono stondrure ot une console conmono.* @var string*/25 Cprotected Ssignature ='automated-reports:send 1--result-id= : Force send a specific AutomatedRep 542/*** The console command description.*ovar stringprotected $description = 'Sends automated reports based on user timezone':34no usadespublic function -_construct(private readonly Loqgerinterface $logger.private readonly AutomatedReportsRepository SreportRepository.private readonly AutomatedReportsservice sautomatedReportsservice.private readonly Busbispatcher saispatcher,parent::__construcu)* dreturn intpublic function handleo: intSresultid = sthis->ontiond kev: result-1d')if (Sresultld l== nulb)&return $this->handleForceSend((int) $resultId);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)= custom.loc= laravel.logc SF liminny@localhost« HS_local fiminny@localhostconsole PROD5205211525152752852953053153215.5411555155415505395405415435441544154615471548549550551552553554555556559561562563564565156615674 console [EUlL console [STAGING]Tx: Auto vFlaycroundvliminnyt.owner_1d FROM soc1al_accounts sa017 A 15 V13 ^JOIN users u on u.1d = sa.soclable_1dJOIN teams tI.n<->I: on t.ld = U.team_1dWHERE U.team_1d = 1 and sa.provider = salestorce :select * tron reans wnere 1o =1select x tron groups g Juin playbooks p1..n<->1: on a.plavbook id = p.id wiselect * TroIorouosnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175:select * from playbook categories where playbook id = 175:select * from users where team_1d = 1:select * from users where 1d = 7160*select * from crm_profiles where user_1d = 7160*select * trom reatures,select# id, vvid, type, provider, playbook_category_id, user_id, lead_id, contact*cr contouracion or cril orovoer 1o.Transcrrocion 0rSTatusfrom activities where crm_confiquration id = 1 and type ='conference'# and crm_ provider id IS NOT NULLand provider != 'uploader' and actual start time IS NOT NULLORDER by id desc;select * from activities where 1d = 54/47785; # 0000400000pCZOJMAOselect p.1d, p.activity_type, pc.1d, pc.nameFRUM playdooks pJoin playdook_cacegories pc"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm fields WHERE crm confiquration id = 1 and obiect tvpe = !SELECT * FROM crm_ field values WHERE crm_ field id = 4select * from crm_layouts cl join playbook layouts pl 1<->i.n: on cl.id =pwhere crm_configuration_1d = 1 and pl.playbooK_1d = 175:select * from teams:SELECI r.* FRUn aucomaced_reporus rjoin ceams t on r.ueam 10 = t.10WHERE r.trequency = "dally"and r.status = 1AND t.status ='activelAND (r.expires at >= now OR r.expires at IS NULD):select * from automated_report_results where report. id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932:5o8 M1569select * from automated_reports order by 1d desc;select * from automated_report_results order by id desc;select * from automated_report_results where report id IN (36);15701libdSupport Daily • in 16 m100% |45]Tue 14 Apr 14:44:52AutomatedReportsCommandTestvCascadeModify AutomatedRepparameters [EMAIL] as well and lets addresult idto send and if foudn then do nos check shouldsend peport but call direct SendReportJob it validvecioeintsExplored 3 files and searched 3 queriesNow I have everything I need. I'll add an optional --result-id argument to the command that bypasses shou LdsendReport and dispatches directly if valid recipients exist.Automaleakeportsoenecommane.ong+38 -1Done Hera'c what was addech--result-1d ootion on the signature — ovpasses the normal scheduled-time Tlow enurely.hand leForcesendd does.1. Finds AutomatedReportResult by ID - returns FAILURE with a log it not tound2. Resolves valid recipients - returns FAILURE with a log if noneDispatches SendReportJo directv no shouldSendRenort checkUsage inside the docker container:I1 hashiphp artisan automated-reports:send --result-id=<id>The normal scheculed flow ino --result-id) is como etelv unchanaed.wO .l -Ask anything (&+L+ ‹> Code.Claude Sonnet 4.6w Winasurt leams11:30uir-oia 4 spaces...
|
NULL
|
-8956411917258939175
|
NULL
|
click
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodelaraveRefactonTool PhpStormFileFditViewNavigateCodelaraveRefactonToolsWindowHelpFV faVsco.js v#11894 on JY-18909-automated-reports-ask-iminny ~Project vD ProphetAiv → Reports(C AutomatedReportsC(C) AutomatedReportsRe(©) AutomatedReportsS© CreateMockAskJimirC DeleteReportcomma© GenerateMarketingR©leam.phpC Usage.phpM Slack→ Teams→ Tracks_ TranscriptionD TwilioD Users_ Vocabulary_ 4oom© coachingeedbacksupcg command.phpc Crearevaroaseusers.oc Daraoase adecountoiC DeleteOldAiCrmNotesC(©) DeleteS3LeftoversCom|DevPostmanCommand.C DiarizeViaAiParticipantk(©) EncryptTokensCommar(©) EngagementStatsReger© FeatureFlagsHelper.php© FixCrossTenantlssues.p(C) FlushRolesPermissionsC(C) GeneratelnternalWebho(C) GroupSetDefaultLanquaC) HelperTruncateCoachin(©) HubspotJournalPollingC(©) HubspotWebhookServic(©) ImportRecording.php@ Imnortli|sercFromCcvEil(c) IterateUsersCommand.cJiminnvcacheclearcom(c) minnv Deouacommanc(c)Jminnvser-ncrvotedio(c) Jiminny okenintocomm(C) MakeSlackLiveCoachinc(C) ManageScimForTeam.o(©) MarkBranchForEnvironn(C) MuteOrganizerChannel.(C) PhpApm.php(C PropagateCoachingFee(©) PurgeConterences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom(e RecalculatebealkiskscoC) RemoveDeleteMarkersd(C) RemoveExpiredNudaes(C) RemoveUnusedParticio:C ResetElasticSearch.php(C) RestoreActivityCrmProv(C) RestoreActivityTypeCor(©) ReportController.phpC SendReportJob.php(©) AutomatedReportsCommand.php© AutomatedReportsSendCommand.phpAddLayoutchuitles.onpC) Team.phpC AutomatedReportsRepository.php© AutomatedReportsService.phpCreateHeldActivityEvent.phpe) Track?rovidernstalled-vent.onoC ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeportJob.ong© AutomatedReportResult.php© AutomatedReport.php<?phpA1.declare(scrict_types=1);nanespace Jamunny console conianos reoorts.>use...16class Automatedreportssendcommand extends Commanprivate const string LoG_PrEFIx = 'Lautomated-reports:sendJ':/*** Ine nome ono stondrure ot une console conmono.* @var string*/25 Cprotected Ssignature ='automated-reports:send 1--result-id= : Force send a specific AutomatedRep 542/*** The console command description.*ovar stringprotected $description = 'Sends automated reports based on user timezone':34no usadespublic function -_construct(private readonly Loqgerinterface $logger.private readonly AutomatedReportsRepository SreportRepository.private readonly AutomatedReportsservice sautomatedReportsservice.private readonly Busbispatcher saispatcher,parent::__construcu)* dreturn intpublic function handleo: intSresultid = sthis->ontiond kev: result-1d')if (Sresultld l== nulb)&return $this->handleForceSend((int) $resultId);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)= custom.loc= laravel.logc SF liminny@localhost« HS_local fiminny@localhostconsole PROD5205211525152752852953053153215.5411555155415505395405415435441544154615471548549550551552553554555556559561562563564565156615674 console [EUlL console [STAGING]Tx: Auto vFlaycroundvliminnyt.owner_1d FROM soc1al_accounts sa017 A 15 V13 ^JOIN users u on u.1d = sa.soclable_1dJOIN teams tI.n<->I: on t.ld = U.team_1dWHERE U.team_1d = 1 and sa.provider = salestorce :select * tron reans wnere 1o =1select x tron groups g Juin playbooks p1..n<->1: on a.plavbook id = p.id wiselect * TroIorouosnere t =oo.select * from playbooks where team_ id = 1:select * from playbooks where id = 175:select * from playbook categories where playbook id = 175:select * from users where team_1d = 1:select * from users where 1d = 7160*select * from crm_profiles where user_1d = 7160*select * trom reatures,select# id, vvid, type, provider, playbook_category_id, user_id, lead_id, contact*cr contouracion or cril orovoer 1o.Transcrrocion 0rSTatusfrom activities where crm_confiquration id = 1 and type ='conference'# and crm_ provider id IS NOT NULLand provider != 'uploader' and actual start time IS NOT NULLORDER by id desc;select * from activities where 1d = 54/47785; # 0000400000pCZOJMAOselect p.1d, p.activity_type, pc.1d, pc.nameFRUM playdooks pJoin playdook_cacegories pc"->l.n: on p.1d = pc.playbook_1dwhere p.team_id = 1 and p.activity_type = 'event':SELECT * FROM crm fields WHERE crm confiquration id = 1 and obiect tvpe = !SELECT * FROM crm_ field values WHERE crm_ field id = 4select * from crm_layouts cl join playbook layouts pl 1<->i.n: on cl.id =pwhere crm_configuration_1d = 1 and pl.playbooK_1d = 175:select * from teams:SELECI r.* FRUn aucomaced_reporus rjoin ceams t on r.ueam 10 = t.10WHERE r.trequency = "dally"and r.status = 1AND t.status ='activelAND (r.expires at >= now OR r.expires at IS NULD):select * from automated_report_results where report. id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932:5o8 M1569select * from automated_reports order by 1d desc;select * from automated_report_results order by id desc;select * from automated_report_results where report id IN (36);15701libdSupport Daily • in 16 m100% |45]Tue 14 Apr 14:44:52AutomatedReportsCommandTestvCascadeModify AutomatedRepparameters [EMAIL] as well and lets addresult idto send and if foudn then do nos check shouldsend peport but call direct SendReportJob it validvecioeintsExplored 3 files and searched 3 queriesNow I have everything I need. I'll add an optional --result-id argument to the command that bypasses shou LdsendReport and dispatches directly if valid recipients exist.Automaleakeportsoenecommane.ong+38 -1Done Hera'c what was addech--result-1d ootion on the signature — ovpasses the normal scheduled-time Tlow enurely.hand leForcesendd does.1. Finds AutomatedReportResult by ID - returns FAILURE with a log it not tound2. Resolves valid recipients - returns FAILURE with a log if noneDispatches SendReportJo directv no shouldSendRenort checkUsage inside the docker container:I1 hashiphp artisan automated-reports:send --result-id=<id>The normal scheculed flow ino --result-id) is como etelv unchanaed.wO .l -Ask anything (&+L+ ‹> Code.Claude Sonnet 4.6w Winasurt leams11:30uir-oia 4 spaces...
|
12848
|
|
12851
|
277
|
17
|
2026-04-14T11:44:56.809366+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776167096809_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileFditViewNavigateCodelaraveRefactonTool PhpStormFileFditViewNavigateCodelaraveRefactonToolsWindowHelpFVtavsco.isv#11894 on JY-18909-automated-reports-ask-iminny ~Project vD ProphetAiv → Reports(C AutomatedReportsC(C) AutomatedReportsRe(©) AutomatedReportsS© CreateMockAskJimirC DeleteReportcomma© GenerateMarketingR©leam.phpC) Usage.phpM Slack_leams→ Tracks_ TranscriptionD TwilioD Users_ VocabularyL Zoom© coachingeedbacksupcg command.phpo Cearevaroaseusers.oc Daraoase oecountoiC DeleteOldAiCrmNotesC(©) DeleteS3LeftoversCom|DevPostmanCommand.|C DiarizeViaAiParticipantl(©) EncryptTokensCommar(©) EngagementStatsReger© FeatureFlagsHelper.php© FixCrossTenantlssues.pC) FlushRolesPermissions((C) GeneratelnternalWebho(C) GroupSetDefaultLanquaC) HelperTruncateCoachin(©) HubspotJournalPollingC(©) HubspotWebhookServic(©) ImportRecording.php@ Imnortli|sercFromCcvEil(c) IterateUsersCommand.cJiminnvcacheclearcom(c) minnv Deouacommanc(c)Jminnvser-ncrvotedio(c) Jiminny okenintocomm(C) MakeSlackLiveCoachinc(C) ManageScimForTeam.o(©) MarkBranchForEnvironn(C) MuteOrganizerChannel.(C) PhpApm.php(C PropagateCoachingFee(©) PurgeConterences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom(e RecalculatebealkiskscoC) RemoveDeleteMarkersd(C) RemoveExpiredNudaes(C) RemoveUnusedParticio:C ResetElasticSearch.php(C) RestoreActivityCrmProv(C) RestoreActivityTypeCor(©) ReportController.phpC SendReportJob.php(©) AutomatedReportsCommand.phpC AutomatedReportsSendCommand.php >C AddLayoutEntities.phpC) Team.phpC) AutomatedReportsRepository.php© AutomatedReportsService.phpCreateHeldActivityEvent.phpe) Track?roviderinstalled-vent.onoC ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeportJob.ong© AutomatedReportResult.php© AutomatedReport.php<?phpdeclare(scrict_types=1);nanespace Jamunny console conianos reoorts.use...16class nuLulllaLeuntJol Lsochucollllane exccnus colllllalExtract Surroundprivate const string LoG_PrEFIx = 'Lautomated-reports:sendJ':*** Ine name ana signature of the console command.* @var string25 Cprotected Ssignature ='automated-reports:send 1--result-id= : Force send a specific AutomatedRep 542/*** The console command description.*ovar stringprotected $description = 'Sends automated reports based on user timezone':34no usadespublic function -_construct(private readonly Loqgerinterface $logger.private readonly AutomatedReportsRepository SreportRepository.private readonly AutomatedReportsservice sautomatedReportsservice.private readonly Busbispatcher saispatcher.parent::__construct* dreturn intpublic function handleo: intSresultld = Sthis->ontion( kev: "result-id'):if (Sresultld l== nulb)&return $this->handleForceSend((int) $resultId);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)libdSupport Daily • in 16 m100% |45]Tue 14 Apr 14:44:56AutomatedReportsCommandTestv= custom.loc= laravel.logc SF (iminny@localhost« HS_local fiminny@localhostCascadeconsole PRODModify AutomatedRep520521v 525152511540152752852953053153253315.541155555 A5405415435445451544154715481547550=5515525555545555565615625635645655665674 console [EUlL console [STAGINGI :Tx: Auto vFlaycroundvrliminny vt.owner_1d FROM soc1al_accounts sa017 A 15 V13 ^parameters for @AutomatedReportsSendCommand.php as well and lets addresult idto send and if foudn then do nos check shouldsend peport but call direct SendReportJob it validvecioeintsJOIN users u on u.1d = sa.soclable_1dJOIN teams tI.n<->I: on t.ld = U.team_1dExplored 3 files and searched 3 queriesWHERE U.team_1d = 1 and sa.provider = salestorce :Now |have evervthina neec, Hil adc an optional --result-id arqument to the command that ovoasses shouldsendReport and dispatches directly if valid recipients existselect * trom teams wnere 1d = 1,Automaleakeportsoenecommane.ong+38 -1select x tron groupsg suin playpooks pIns">l: on g.playbook_1d = p.10 Whselect x Trolorouoswnere to =sos.Done Hera'c what was addechseledlon on the signature — oypasses the normal scheduled-time Tlow enurely.assessymbolsActionsextProiect Files vseledoes:seleseledseledselecselecseled•- AutomatedtedRenortResult ov Ib — returns FarlURF with allod If not toundid recipients - returns FAILURE with a log if none© AutomatedReportsCommandTest.php .......Commands/ReportsAutomatedReportsCommandTest.phsendReportJob directy no shouldSendRenort checkC AutomatedReportsRepository.php.app/Repositories/AutomatedReportsRepository.phpdocker container:C AutomatedReport.php../app/Models/AutomatedReport.phpC AutomatedReportsCommand.php .../app/Console/Commands/Reports/AutomatedReportsCommand.lAutomatedReportsController.php .../app/Http/Controllers/Kiosk/AutomatedReportsController.phputomated-renorts.send --result-1decids# id,# cri© AutomatedReportResult.php .../app/Models/AutomatedReportResult.phpfrom© AutomatedReportsCallbackservice.php ../../AutomatedReports/AutomatedReportsCallbackservice.p© AutomatedReportsRepositoryTest.php .../tests/Unit/Repositories/AutomatedReportsRepositoryTest.puled flow ino --result-id) is como etelv unchanded.# anO al .Automatedcallscorekepository.pnp..//component/leaminsignts/Automateacallscorekepository.fCb AutomatedReportsControllerTest.ohp ../tests/.../Controllers/Kiosk/AutomatedReportsControllerTestand [ORDEEseleC) AutomatedReportsCallbackServiceTest.php .../AutomatedReportsCallbackServiceTest.php<> AutomatedCallScoreRepository.php.html build/coverage/Component/TeamInsightsC AutomatedReportsService.php .../app/Services/Kiosk/AutomatedReports/AutomatedReportsService.lsele© AutomatedReportsSendCommand.php .../../Commands/Reports/AutomatedReportsSendCommand.gI-KUIMIC AutomatedReportsRetentionPolicyCommand.php .../AutomatedReportsRetentionPolicyCommand.phgJO1n,morewnerSELESELEselewherseleJO1nAND 1AND (unilconsolecommanas/kepors.aulomaleareoonscommanalest.oneOpen In Right Splitselect * from automated_report_results where report.id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932)5o8 M1569select * from automated_reports order by 1d desc;select * from automated_report_results order by id desc;select * from automated_report_results where report id IN (36);15701572wAsk anything (&+L+ ‹> Code.Claude Sonnet 4.6winasun leams16:18 5u chars, 1line breakuir-oia 4 spaces...
|
NULL
|
-5170810844550914695
|
NULL
|
visual_change
|
ocr
|
NULL
|
PhpStormFileFditViewNavigateCodelaraveRefactonTool PhpStormFileFditViewNavigateCodelaraveRefactonToolsWindowHelpFVtavsco.isv#11894 on JY-18909-automated-reports-ask-iminny ~Project vD ProphetAiv → Reports(C AutomatedReportsC(C) AutomatedReportsRe(©) AutomatedReportsS© CreateMockAskJimirC DeleteReportcomma© GenerateMarketingR©leam.phpC) Usage.phpM Slack_leams→ Tracks_ TranscriptionD TwilioD Users_ VocabularyL Zoom© coachingeedbacksupcg command.phpo Cearevaroaseusers.oc Daraoase oecountoiC DeleteOldAiCrmNotesC(©) DeleteS3LeftoversCom|DevPostmanCommand.|C DiarizeViaAiParticipantl(©) EncryptTokensCommar(©) EngagementStatsReger© FeatureFlagsHelper.php© FixCrossTenantlssues.pC) FlushRolesPermissions((C) GeneratelnternalWebho(C) GroupSetDefaultLanquaC) HelperTruncateCoachin(©) HubspotJournalPollingC(©) HubspotWebhookServic(©) ImportRecording.php@ Imnortli|sercFromCcvEil(c) IterateUsersCommand.cJiminnvcacheclearcom(c) minnv Deouacommanc(c)Jminnvser-ncrvotedio(c) Jiminny okenintocomm(C) MakeSlackLiveCoachinc(C) ManageScimForTeam.o(©) MarkBranchForEnvironn(C) MuteOrganizerChannel.(C) PhpApm.php(C PropagateCoachingFee(©) PurgeConterences.php(©) PurgeSoftDeletedOppol© PurgeSyncBatchesCom(e RecalculatebealkiskscoC) RemoveDeleteMarkersd(C) RemoveExpiredNudaes(C) RemoveUnusedParticio:C ResetElasticSearch.php(C) RestoreActivityCrmProv(C) RestoreActivityTypeCor(©) ReportController.phpC SendReportJob.php(©) AutomatedReportsCommand.phpC AutomatedReportsSendCommand.php >C AddLayoutEntities.phpC) Team.phpC) AutomatedReportsRepository.php© AutomatedReportsService.phpCreateHeldActivityEvent.phpe) Track?roviderinstalled-vent.onoC ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpRequestGeneratekeportJob.ong© AutomatedReportResult.php© AutomatedReport.php<?phpdeclare(scrict_types=1);nanespace Jamunny console conianos reoorts.use...16class nuLulllaLeuntJol Lsochucollllane exccnus colllllalExtract Surroundprivate const string LoG_PrEFIx = 'Lautomated-reports:sendJ':*** Ine name ana signature of the console command.* @var string25 Cprotected Ssignature ='automated-reports:send 1--result-id= : Force send a specific AutomatedRep 542/*** The console command description.*ovar stringprotected $description = 'Sends automated reports based on user timezone':34no usadespublic function -_construct(private readonly Loqgerinterface $logger.private readonly AutomatedReportsRepository SreportRepository.private readonly AutomatedReportsservice sautomatedReportsservice.private readonly Busbispatcher saispatcher.parent::__construct* dreturn intpublic function handleo: intSresultld = Sthis->ontion( kev: "result-id'):if (Sresultld l== nulb)&return $this->handleForceSend((int) $resultId);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)libdSupport Daily • in 16 m100% |45]Tue 14 Apr 14:44:56AutomatedReportsCommandTestv= custom.loc= laravel.logc SF (iminny@localhost« HS_local fiminny@localhostCascadeconsole PRODModify AutomatedRep520521v 525152511540152752852953053153253315.541155555 A5405415435445451544154715481547550=5515525555545555565615625635645655665674 console [EUlL console [STAGINGI :Tx: Auto vFlaycroundvrliminny vt.owner_1d FROM soc1al_accounts sa017 A 15 V13 ^parameters for @AutomatedReportsSendCommand.php as well and lets addresult idto send and if foudn then do nos check shouldsend peport but call direct SendReportJob it validvecioeintsJOIN users u on u.1d = sa.soclable_1dJOIN teams tI.n<->I: on t.ld = U.team_1dExplored 3 files and searched 3 queriesWHERE U.team_1d = 1 and sa.provider = salestorce :Now |have evervthina neec, Hil adc an optional --result-id arqument to the command that ovoasses shouldsendReport and dispatches directly if valid recipients existselect * trom teams wnere 1d = 1,Automaleakeportsoenecommane.ong+38 -1select x tron groupsg suin playpooks pIns">l: on g.playbook_1d = p.10 Whselect x Trolorouoswnere to =sos.Done Hera'c what was addechseledlon on the signature — oypasses the normal scheduled-time Tlow enurely.assessymbolsActionsextProiect Files vseledoes:seleseledseledselecselecseled•- AutomatedtedRenortResult ov Ib — returns FarlURF with allod If not toundid recipients - returns FAILURE with a log if none© AutomatedReportsCommandTest.php .......Commands/ReportsAutomatedReportsCommandTest.phsendReportJob directy no shouldSendRenort checkC AutomatedReportsRepository.php.app/Repositories/AutomatedReportsRepository.phpdocker container:C AutomatedReport.php../app/Models/AutomatedReport.phpC AutomatedReportsCommand.php .../app/Console/Commands/Reports/AutomatedReportsCommand.lAutomatedReportsController.php .../app/Http/Controllers/Kiosk/AutomatedReportsController.phputomated-renorts.send --result-1decids# id,# cri© AutomatedReportResult.php .../app/Models/AutomatedReportResult.phpfrom© AutomatedReportsCallbackservice.php ../../AutomatedReports/AutomatedReportsCallbackservice.p© AutomatedReportsRepositoryTest.php .../tests/Unit/Repositories/AutomatedReportsRepositoryTest.puled flow ino --result-id) is como etelv unchanded.# anO al .Automatedcallscorekepository.pnp..//component/leaminsignts/Automateacallscorekepository.fCb AutomatedReportsControllerTest.ohp ../tests/.../Controllers/Kiosk/AutomatedReportsControllerTestand [ORDEEseleC) AutomatedReportsCallbackServiceTest.php .../AutomatedReportsCallbackServiceTest.php<> AutomatedCallScoreRepository.php.html build/coverage/Component/TeamInsightsC AutomatedReportsService.php .../app/Services/Kiosk/AutomatedReports/AutomatedReportsService.lsele© AutomatedReportsSendCommand.php .../../Commands/Reports/AutomatedReportsSendCommand.gI-KUIMIC AutomatedReportsRetentionPolicyCommand.php .../AutomatedReportsRetentionPolicyCommand.phgJO1n,morewnerSELESELEselewherseleJO1nAND 1AND (unilconsolecommanas/kepors.aulomaleareoonscommanalest.oneOpen In Right Splitselect * from automated_report_results where report.id IN (18, 33);select * from activity_searches where 1d = 10952;select * from activity_search_filters where activity_search_1d = 10932)5o8 M1569select * from automated_reports order by 1d desc;select * from automated_report_results order by id desc;select * from automated_report_results where report id IN (36);15701572wAsk anything (&+L+ ‹> Code.Claude Sonnet 4.6winasun leams16:18 5u chars, 1line breakuir-oia 4 spaces...
|
NULL
|
|
12852
|
277
|
18
|
2026-04-14T11:44:59.847439+00:00
|
/Users/lukas/.screenpipe/data/data/2026-04-14/1776 /Users/lukas/.screenpipe/data/data/2026-04-14/1776167099847_m2.jpg...
|
NULL
|
NULL
|
1
|
NULL
|
monitor_2
|
NULL
|
NULL
|
NULL
|
NULL
|
PhpStormFileEditFVtavsco.isvViewNavigateCodeLarave PhpStormFileEditFVtavsco.isvViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack_leamsD TracksO TranscriptionO TwilioD UsersVocabularyCZoom© CoachingFeedbacksUpr© Command.phpc Crearevaroaseusers.oc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand.|© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil(c) IterateUsersCommand.cJiminnvcacheclearcom(c) minnv Deouacommanc(c)Jminnvser-ncrvotedio(c) Jiminny okenintocomm© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesCom(e RecalculatebealkiskscoC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© ReportController.phpC AutomatedReportsSendCommand.php >© AutomatedReportsService.php© SendReportJob.phpAutomatedReportsCommand.php© AddLayoutEntities.phpC) Team.phpCreateHeldActivityEvent.phpAutomatedReportsRepository.php© TrackProviderInstalledEvent.php© ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.php© AutomatedReportResult.php<?php© AutomatedReport.phpA1.declare(strict_types=1);nanespace Jamunny console conianos reoorts.use16 Dclass AutomatedRcoor csocnucomllana excenus collllalExtract Surroundprivate const string LOG_PREFIX = '[automated-reports:send]':/*** Ine nome ono stondrure ot une console conmono.* Ovar string25 Gtprotected $signature = 'automated-reports:send {--result-id= : Force send a specific AutomatedRep542/*** The console command description.* @var stringprotected $description = 'Sends automated reports based on user timezone';34no usadespublic function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,private readonly AutomatedReportsService $automatedReportsService,private readonly Busbispatcher saispatcher.parent::__construcu)* Oreturn intpublic function handle(): int$resultId = Sthis-›option( key: 'result-id');if ($resultId !== null) {return $this->handleForceSend((int) $resultId);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)= custom.logE laravel.logconsole PROD4 console [EUlA SF [jiminny@localhost]A console [STAGING] >Tx: Auto vFlaycroundvt.owner_id FROM social_accounts sa520521522523JOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';A HS_local [iminny@localhost]15251527-5285295305315325335341555155454054154354454554615475481547550=551552553554555556557559560561562563564565566567568 V56915701Sa jiminny v017 A15 Х13 Aselect * tron reans where 1o =15select x tron groupsg suin playpooks p1..n<->1: on a.plavbook id = p.id wiselect x Trolorouoswhere id = 565:seleseledCassesllessymoolsActionsTextAll Places vseledQ- class AutomatedReportsSendCommand extends Command |seledseledseledselecseled# id,# crnfrom# ancanduse rno nrles Tar to oeroim tull-ext searcnORDEEseledseledI-KUIMIjoinwnerSELECSELECseledwhereseledSELECjoinWHEREancAND 1ANDunitconsolecommanas/kepors.aulomaleakeoorscommanalest.onOpen In Right Splitselect * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where ceRontaig IN (36);572hiilSupport Daily • in 16 mAU AutomatedReportsCommandTestv100% C•Tue 14 Apr 14:44:59CascadeModify AutomatedRepparameters for @AutomatedReportsSendCommand.php as well and lets addIN sult t c as slets and i fo then then do nos foh eA houatsendpeport but calldire.p Senar eportiod tif vaiddvecioeintsExplored 3 files and searched 3 querieswNow |have evervthina neec, Hil adc an optional --result-id arqument to the command that ovoasses shouldsendReport and dispatches directly if valid recipients exist.Automaleakeportsoenecommane.ong+38 -1Done Hera'c what was addechdoes:lon on the signature — oypasses the normal scheduled-time Tlow enurely.tedRenortResult ov D — returns FarlURF with alod it not touncld recipients - returns FAILURE with a log if nonesendReportJob directy no shouldSendRenort checkdocker container:utomated-renorts.send --result-1decidsuled flow ino --result-id) is como etelv unchanaed.O .l -Ask anything (884L)+ ‹> Code.Claude Sonnet 4.6winasur leams 10:18 50 chars, 1line breakuir-of 4 spaces...
|
NULL
|
-8060486439616242306
|
NULL
|
visual_change
|
ocr
|
NULL
|
PhpStormFileEditFVtavsco.isvViewNavigateCodeLarave PhpStormFileEditFVtavsco.isvViewNavigateCodeLaravelRefactor#11894 on JY-18909-automated-reports-ask-iminny ~ToolsWindowHelpProject vProphetAiv D Reports© AutomatedReportsCi© AutomatedReportsRe© AutomatedReportsS:© CreateMockAskJimir© DeleteReportComma© GenerateMarketingR© Team.php© Usage.phpD Slack_leamsD TracksO TranscriptionO TwilioD UsersVocabularyCZoom© CoachingFeedbacksUpr© Command.phpc Crearevaroaseusers.oc Daraoase oecountoi© DeleteOldAiCrmNotesC:© DeleteS3LeftoversComiDevPostmanCommand.|© DiarizeViaAiParticipantk© EncryptTokensComman© EngagementStatsRegen© FeatureFlagsHelper.php© FixCrossTenantissues.p© FlushRolesPermissionsC© GeneratelnternalWebho• GroupSetDefaultLangua© HelperTruncateCoachin© HubspotJournalPollingC© HubspotWebhookServic© ImportRecording.php@ Imnortli|sercFromCcvEil(c) IterateUsersCommand.cJiminnvcacheclearcom(c) minnv Deouacommanc(c)Jminnvser-ncrvotedio(c) Jiminny okenintocomm© MakeSlackLiveCoaching© ManageScimForTeam.p© MarkBranchForEnvironn© MuteOrganizerChannel.© PhpApm.php© PropagateCoachingFeer© PurgeConferences.php© PurgeSoftDeletedOppor© PurgeSyncBatchesCom(e RecalculatebealkiskscoC) RemoveDeleteMarkersd© RemoveExpiredNudgest© RemoveUnusedParticip:© ResetElasticSearch.php© RestoreActivityCrmProv© RestoreActivityTypeCor© ReportController.phpC AutomatedReportsSendCommand.php >© AutomatedReportsService.php© SendReportJob.phpAutomatedReportsCommand.php© AddLayoutEntities.phpC) Team.phpCreateHeldActivityEvent.phpAutomatedReportsRepository.php© TrackProviderInstalledEvent.php© ActivityLogged.phpC RequestGenerateAskJiminnyReportJob.phpC RequestGenerateReportJob.php© AutomatedReportResult.php<?php© AutomatedReport.phpA1.declare(strict_types=1);nanespace Jamunny console conianos reoorts.use16 Dclass AutomatedRcoor csocnucomllana excenus collllalExtract Surroundprivate const string LOG_PREFIX = '[automated-reports:send]':/*** Ine nome ono stondrure ot une console conmono.* Ovar string25 Gtprotected $signature = 'automated-reports:send {--result-id= : Force send a specific AutomatedRep542/*** The console command description.* @var stringprotected $description = 'Sends automated reports based on user timezone';34no usadespublic function __construct(private readonly LoggerInterface $logger,private readonly AutomatedReportsRepository $reportRepository,private readonly AutomatedReportsService $automatedReportsService,private readonly Busbispatcher saispatcher.parent::__construcu)* Oreturn intpublic function handle(): int$resultId = Sthis-›option( key: 'result-id');if ($resultId !== null) {return $this->handleForceSend((int) $resultId);Pushed 1 commit to origin/JY-18909-automated-reports-ask-jiminny // View pull request (today 13:29)= custom.logE laravel.logconsole PROD4 console [EUlA SF [jiminny@localhost]A console [STAGING] >Tx: Auto vFlaycroundvt.owner_id FROM social_accounts sa520521522523JOIN users u on u.id = sa.sociable_idJOIN teams t1..n<->1: on t.id = u.team_idWHERE U.team_id = 1 and sa.provider = 'salesforce';A HS_local [iminny@localhost]15251527-5285295305315325335341555155454054154354454554615475481547550=551552553554555556557559560561562563564565566567568 V56915701Sa jiminny v017 A15 Х13 Aselect * tron reans where 1o =15select x tron groupsg suin playpooks p1..n<->1: on a.plavbook id = p.id wiselect x Trolorouoswhere id = 565:seleseledCassesllessymoolsActionsTextAll Places vseledQ- class AutomatedReportsSendCommand extends Command |seledseledseledselecseled# id,# crnfrom# ancanduse rno nrles Tar to oeroim tull-ext searcnORDEEseledseledI-KUIMIjoinwnerSELECSELECseledwhereseledSELECjoinWHEREancAND 1ANDunitconsolecommanas/kepors.aulomaleakeoorscommanalest.onOpen In Right Splitselect * from automated_report_results where repontaig IN (18, 33);select * from activity_searches where id = 10932;select * from activity_search_filters where activity_search_id = 10932;select * from automated_reports order by id desc;select * from automated_report_results order by id desc;select * from automated_report_results where ceRontaig IN (36);572hiilSupport Daily • in 16 mAU AutomatedReportsCommandTestv100% C•Tue 14 Apr 14:44:59CascadeModify AutomatedRepparameters for @AutomatedReportsSendCommand.php as well and lets addIN sult t c as slets and i fo then then do nos foh eA houatsendpeport but calldire.p Senar eportiod tif vaiddvecioeintsExplored 3 files and searched 3 querieswNow |have evervthina neec, Hil adc an optional --result-id arqument to the command that ovoasses shouldsendReport and dispatches directly if valid recipients exist.Automaleakeportsoenecommane.ong+38 -1Done Hera'c what was addechdoes:lon on the signature — oypasses the normal scheduled-time Tlow enurely.tedRenortResult ov D — returns FarlURF with alod it not touncld recipients - returns FAILURE with a log if nonesendReportJob directy no shouldSendRenort checkdocker container:utomated-renorts.send --result-1decidsuled flow ino --result-id) is como etelv unchanaed.O .l -Ask anything (884L)+ ‹> Code.Claude Sonnet 4.6winasur leams 10:18 50 chars, 1line breakuir-of 4 spaces...
|
12851
|