[DOCS-15073] Scheduled Trigger Example inconsistency Created: 27/Jan/22  Updated: 04/Jan/23  Resolved: 09/Feb/22

Status: Closed
Project: Documentation
Component/s: Realm
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: David Griffith Assignee: Ben Perlmutter
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 2 years ago
Story Points: 2

 Description   

On the Scheduled Triggers doc page: https://docs.mongodb.com/realm/triggers/scheduled-triggers/#example

 

The example claims it will setup a CRON to run each day at 

7:00 AM UTC-0400

 

However, it then sets up the CRON to run each day at

07:00:00 GMT +0000

 

It also might be worth noting on this page how the Next Events display determines which timezone to display it's value with.



 Comments   
Comment by Ben Perlmutter [ 09/Feb/22 ]

deployed - https://docs.mongodb.com/realm/triggers/examples/create-a-scheduled-trigger/ 

Comment by Ben Perlmutter [ 09/Feb/22 ]

not sure how the `UTC-0400` got in there. it's based on UTC. the "next events" preview panel in the UI shows the time based on your local timezone from the UTC time you put in the time. 

for example if you put in `* 7 * * *` the trigger will run at 7 AM UTC. the next events section of my UI will display 2 AM UTC-0500 b/c i'm in NYC. 

PR - https://github.com/mongodb/docs-realm/pull/1630 

Generated at Thu Feb 08 08:11:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.