Where scheduler event time is defined?

For example,auto email report is daily long, it will trigger email at midnight 12 AM. How to chenge the time for this?

@shreelaxmi it’s in hooks file of frappe app . if you want it updated for all reports I guess you have to update the file .
I am using another approach . I have set my auto report to disabled so it will not be triggered by the system . then created a server script type schedule and I can use the cron to set a very specific date and time . then I retrieve the auto report using

doc=frappe.get_doc("Auto Email Reportt","name if my report")
doc.send()

this method will help you send multiple reports at different times , and no need to update hooks file .

1 Like